[yocto] OpenSSH issue in Krogoth
Mark O'Donovan
shiftee at eircom.net
Tue May 10 05:13:11 PDT 2016
Krogoth and Jethro behave differently when I ssh into them using a
script like so
ssh root at krogoth << EOF
ls
EOF
ssh root at jethro << EOF
ls
EOF
Both behave as expected if this format is used:
$ ssh root at krogoth 'ls'
#
# Jethro: This works and lists a file called core
# OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015
#
$ ssh root at 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 at 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 at 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
More information about the yocto
mailing list