Unable to SSH into Jetson Nano through Ethernet

Adding to my previous comment (failing to connect to Jetson with SSH due to timeout):
In order to fine tune where the problem comes from I used Wireshark on the client’s computer and ‘tcpdump’ on the Jetson.
The conclusion was that the client get to the server but the server doesn’t answer.
The following thread helped to understand that the problem probably comes from the firewall:
https://unix.stackexchange.com/questions/207141/ssh-server-not-answering-connection-requests

So I tried another thing that worked:

  1. Login to the Jetson
  2. Install ‘ufw’ and ‘sshserver’:
sudo apt-get install ufw openssh-server
  1. Add ‘ssh-server’ to the allow list:
sudo ufw allow openssh
  1. Disable the firewall by running:
sudo ufw disable
sudo ufw enable
  1. Restart Jetson
  2. Make sure that ufw is up with the updated configuration
sudo ufw status

Hope it helps

2 Likes