<snip>
>
> [By the way, the command
> ssh paris -n echo $SHELL
> suggested by lamboot is incorrect, since it echoes the current shell used on
>
> the local machine, and *NOT* the shell used on the remote computer paris,
> which it is supposed to do. I hope it is not really used to query the remote
>
> shell?]
>
you need quotes around the remote command.
eg: ssh paris -n 'echo $SHELL'
-J
|