Bug With “%C” in OpenSSH 7.7?
Larry Ploetz
lploetz at gmail.com
Sat Apr 14 11:04:19 AEST 2018
There seems to be a problem with the %C token when used in localcommand
(controlpath works with it though).
larryp:~ larry$ ssh -F /dev/null -o permitlocalcommand=yes -o
localcommand="echo \"%C\"" larryp at 192.168.1.1 hostname |& cat -vt
192.168.1.1
hostname
larryp:~ larry$ ssh -F /dev/null -o permitlocalcommand=yes -o
localcommand="echo \"%C\"" larryp at 192.168.1.1 hostname |& cat -vt
^P^EM-pM-zM-z^?
hostname
larryp:~ larry$ ssh -F /dev/null -o permitlocalcommand=yes -o
localcommand="echo \"%C\"" larryp at 192.168.1.1 hostname |& cat -vt
hostname
Please reply to my email address.
Thanks
- Larry
More information about the openssh-unix-dev
mailing list