I’m working on Jetson Nano in headless mode via Windows OS. I’m logging into Nano via Windows PowerShell. It logs in fine but after a while the SSH connection ends automatically.
It says:
Connection reset by 192.168.55.1 port 22
And after that, it does not connect at all and the Command windows says:
ssh: connect to host 192.168.55.1 port 22: Connection timed out
For internet connection to Nano, I’ve connected the board directly into a wired ethernet router from the onboard ethernet port.
@sarwat.sarfaraz
You should use USB cable instead of ethernet cable.
Do you have “openssh-server” package ? If you do not have it , you can install like
sudo apt-get install openssh-server
Yes the server is installed. Otherwise the connection wouldn’t establish at all.
The connection is establishing but getting disconnected after a while automatically.
Please check if configuring the client alive interval would help or not.
/etc/ssh/sshd_config.
#ClientAliveInterval
#ClientAliveCountMax
/etc/ssh/sshd_config.
When I run this command on Command Prompt, it says
The system cannot find the path specified.
This is not a command. This is a configuration text file for ssh…
Update:
I’m running the classification code on Jupyter Notebook from Getting Started with AI on Jetson Nano Course.
I just figured out that when I click on the Train
button, then the SSH disconnects (after a minute or so), otherwise the connection’s fine before that regardless of the idle time.
Shall I still try to configure the client alive interval?
PROBLEM SOLVED
I was using Windows PowerShell. I switched to PuTTy and the problem doesn’t occur anymore. I was able to train the dataset.