way to set shell used for remote commands?

Alex Bligh alex at alex.org.uk
Thu Jan 22 04:29:00 AEDT 2015


On 21 Jan 2015, at 15:36, Jason Vas Dias <jason.vas.dias at gmail.com> wrote:

> Please can OpenSSH provide some way of specifying which shell to use to
> execute commands on a host.

Using dash as an example of another shell:

   ssh 127.0.0.1 -t dash

and

   ssh 127.0.0.1 dash -c env

appear to do the expected for me.

-- 
Alex Bligh






More information about the openssh-unix-dev mailing list