ssh "bash -c" bug

Олохтонов Владимир v.olokhtonov at sirena2000.ru
Thu Feb 21 02:17:34 EST 2013


The arguments of the first command given to "bash -c" over ssh is being 
ignored.

xxx at yyy:~$ ssh xxx at localhost bash -c 'echo foo; echo bar'

bar
xxx at yyy:~$ ssh ova at localhost bash -c ':; echo foo; echo bar'
foo
bar

-- 
С уважением,
Системный администратор
компании Комтех-Н
Олохтонов Владимир
v.olokhtonov at sirena2000.ru



More information about the openssh-unix-dev mailing list