MATLAB: Error connecting to SSH server at ”

jetsonMATLABssh

How to fix 'Error connecting to SSH server at 18.125.5.100'?
I am trying to run the deployToNVIDIAJetson.mlx file, but I am unable to establish an SSH connection in MATLAB to the Jetson board. I have the correct name and set up static ip addresses on both machines.
Jetson IP: 18.125.5.100 % set via modifying /etc/network/interfaces
MATLAB Computer IP: 18.125.5.251 % set by modifying static ip in network settings
The machines are linked via an ethernet cable, the Jetson has its own OpenSSH server active and running, and I am able to ping to the Jetson IP through Windows Powershell…
Am I missing something to establishing the connection in MATLAB? I could definitely use any help, I've been stuck on this for a couple days now…

Best Answer

Hi Viet,
Are you able to do ssh to the Jetson board?
In the jetson, put the connection "method" under ipv4 settings as below
In the terminal get IP address uisng the command
$ ifconfig
Then use this IP to connect to the Jetson from MATLAB.
If it is not resolved your problem, please provide code snippet or commands that you are using to connect to the Jetson from MATLAB.
Thanks,
Ramakrishna