Closed Azzeccagarbugli closed 4 years ago
maybe you simply run out of memory. try before doing anything else, except having the network ready of cause.
ssh and scp tend to need a lot of memory. on the server side make sure to use standard certificate sizes.
try before doing anything else, except having the network ready of cause.
What do you mean with this?
on the server side make sure to use standard certificate sizes.
I already checked this, and we are using standard certificates
With nothing in between. So that no memory is allocated by anything else.
- reboot
- get the network ready
- call net.ssh.exec
That's the error that we got:
stdin:1: can't establish ssh session
stack traceback:
[C]: in field 'exec'
stdin:1: in main chunk
[C]: in ?
We can connect normally with the SSH Service but when we try the exec we run into this problem.
By then, your memory is probably already used up.
By then, your memory is probably already used up.
We managed to succeed the issue but now when we try to connect from the board to one server we got this problem on the server side:
This is not happening when we try to launch the command ssh name@host command
from our PC to she same server. Do you know why?
How did you solve the previous issue?
We simply realised that was an issue on the server side and not on the board, stupid mistake
Hi everyone!
I'm trying to execute the command:
net.ssh.exec("192.168.1.8", 22, "lua helloworld.lua", "stefano", "secretpass")
But the board doesn't respond me in anyway and sometimes it shows the following error:
And the same issue is happening when I try to use the SCP utility.
I really can't understand, me and @stexniolo tried everything but nothing helped us, could you?
Thanks in advance!