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@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@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@192.168.1.1 hostname |& cat -vt
hostname
Please reply to my email address.
Thanks
- Larry
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev