Krogoth and Jethro behave differently when I ssh into them using a
script like so

ssh root@krogoth << EOF
ls
EOF

ssh root@jethro << EOF
ls
EOF


Both behave as expected if this format is used:

$ ssh root@krogoth 'ls'



#
# Jethro: This works and lists a file called core
# OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015
#
$ ssh root@jethro << EOF
ls
EOF
Pseudo-terminal will not be allocated because stdin is not a terminal.
core
$


#
# Krogoth: First run after reboot - fails to run the command and
prints garbage after the prompt
# OpenSSH_7.1p2, OpenSSL 1.0.2g  1 Mar 2016
#
$ ssh root@krogoth << EOF
ls
EOF

Pseudo-terminal will not be allocated because stdin is not a terminal.
$ ;205R


#
# Krogoth: Subsequent runs - fails to run the command and prints
garbage before and after the prompt
#
$ ssh root@krogoth << EOF
ls
EOF
Pseudo-terminal will not be allocated because stdin is not a terminal.
^[[56;205R$ ;205R


Should I report this as a bug?

Regards,
Mark
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to