Open pfiser opened 1 year ago
Which ssh
server are you using on Yocto? This may be an issue when dropbear is used instead of ssh-server-openssh
. We explicitly use openssh
for the LXA TAC yocto layer.
No, we are using ssh-server-openssh
with Yocto (kirkstone
).
SSH Version:
$ telnet 192.168.69.51 22
Trying 192.168.69.51...
Connected to 192.168.69.51.
Escape character is '^]'.
SSH-2.0-OpenSSH_8.9
or
root@phyboard-mira-imx6-5:~# sshd -V
unknown option -- V
OpenSSH_8.9p1, OpenSSL 3.0.7 1 Nov 2022
Does your manually run ssh command output useful information if you lower the LogLevel
?
Hi,
I have issues with labgrid exporters build with Yocto.
Creating SSH ControlSocket for those machines returns non-zero value and this in turn produces the following error:
However if I change
labgrid/utils/ssh.py
:All works, meaning SSH ControlSocket is created and video starts playing!
According to
man ssh
:hence the proposed change in
ssh.py
.I then tried to manually create SSH ControlSocket independently of labgrid:
And the return value is indeed 2. Then I tried another board built with yocto and the return value was 1 :)
Both boards have root login enabled without password! (I also tried setting up user with password on those boards but return values were always the same/non-zero).
Finally I tried with another machine running Ubuntu 22.04 and return value was 0.
So my questions: 1) Did anyone experience the same thing with Yocto built exporters? 2) Any idea why this happens? 2) Shall we check for
ssh
return value of 255 instead of different than non-zero as proposed?