Why are the arguments supplied for the command run through ssh interpreted by shell before they are passed to the command on the server side?

Yuri yuri at rawbw.com
Sun Jan 12 04:03:20 AEDT 2020

On 2020-01-11 08:57, Thorsten Glaser wrote:
> If you wish for no local expansion, quote locally, such as:
> ssh -l luser remotehost '
> 	command1
> 	command2
>> '

This didn't work for me because single quotes only prevent local 
expansion. The string is expanded on the remote host.


More information about the openssh-unix-dev mailing list