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
Mon Jan 13 07:28:15 AEDT 2020


On 2020-01-12 12:17, Thorsten Glaser wrote:
> Yes, but
>
> 	ssh -z remhost sh -c "something"
>
> is exactly identical to
>
> 	ssh remhost "something"


No it's not when "something" has odd characters in it.


Yuri




More information about the openssh-unix-dev mailing list