way to set shell used for remote commands?

Philipp Marek philipp.marek at linbit.com
Fri Jan 23 18:00:12 AEDT 2015


 
> What I'd like is an option I could put into a configuration file on
> $remote_host to say "sshd should use SHELL=$X for all commands",  or
> maybe it might be nicer to be able to say:
>     "use SHELL=$X for commands coming from host $Y or network $N"
> or "use SHELL=$X for commands that match the regular expression $Y"
> or a combination of both.
Why not create an additional user on $remote, reusing the same UID and 
groups, and giving that user the "right" shell?



More information about the openssh-unix-dev mailing list