Error connecting to SSH server at ''
26 ビュー (過去 30 日間)
古いコメントを表示
Viet Nguyen
2020 年 2 月 14 日
コメント済み: Ramakrishna Mandalapu
2023 年 6 月 13 日
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...
0 件のコメント
採用された回答
Ramakrishna Mandalapu
2020 年 2 月 14 日
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
3 件のコメント
Mr Beast
2023 年 6 月 12 日
編集済み: Mr Beast
2023 年 6 月 12 日
Hello there, I am experiencing the same issue since few days. Have cross checked password and it gets connected by same credentials through PuTTY, but not from MATLAB.
Code snippet is as follows:
mex -setup C++
setenv('CUDA_PATH',fullfile("C:","Program Files","NVIDIA GPU Computing Toolkit","CUDA","v10.0"))
setenv('NVIDIA_CUDNN',fullfile("C:","Program Files","NVIDIA GPU Computing Toolkit","CUDA","cuDNN"));
setenv('NVIDIA_TENSORRT', fullfile("C:","Program Files","NVIDIA GPU Computing Toolkit","CUDA","TensorRT"))
setenv('OPENCV_DIR',fullfile("C:","Program Files","opencv","build"));
setenv('PATH', ...
[fullfile('C:','Program Files','NVIDIA GPU Computing Toolkit','CUDA','v10.0','bin') ';' ...
fullfile('C:','Program Files','NVIDIA GPU Computing Toolkit','CUDA','cuDNN','bin') ';'...
fullfile('C:','Program Files','opencv','build','x64','vc15','bin') ';'...
fullfile('C:','Program Files','NVIDIA GPU Computing Toolkit','CUDA','TensorRT','lib') ';'...
getenv('PATH')]);
ipaddress = '169.254.214.164'; % This is specific to your jetson, use ifconfig to find the ipaddress or set a static ip for the jetson
username = 'username';
password = ' ';
hwobj = jetson(ipaddress, username, password);
Thank you in advance.
Ramakrishna Mandalapu
2023 年 6 月 13 日
Hi,
Can you post the error message here?
Also, please check if the firewall is blocking the connection.
-Ramakrishna
その他の回答 (1 件)
Ramakrishna Mandalapu
2020 年 2 月 15 日
編集済み: Ramakrishna Mandalapu
2020 年 2 月 15 日
Hi Viet,
You don't need to setup a static IP. As I mentioned above in the figure you should use that method (link local only) from network manager for the Jetson to auto configure it's IP. This makes the Jetson in the same network with the host computer when you are using a Ethernet cross over cable.
The Jetson and Host should be on the same network either with the direct crossover Ethernet cable or using a LAN (back bone ) connection. Always you should ensure that the board is able to ssh from the host when you want to access it from the MATLAB.
Note: 1. When you are connecting Jetson to LAN then you don't need to configure network manager to use link local only method on it. 2. No host side network settings in both case.
Thanks, Ramakrishna
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で GPU Computing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!