remote profiling failed due to "Failed to connect sshd on tx1"

Hello All,

I am trying to profiling the cuda applications on tx1 remotely, since there is no local nvvp in the current installed jetpack. But I have the error message, "Failed to connect  sshd on xxxx " when I run the nvvp locally.

I can ssh to the tx1 and the sshd is up running. Not sure where go wrong. Any suggestions?

Best,

This issue seems to be related to Openssh which uses “Key Exchange Algorithms”
https://www.bountysource.com/issues/31738032-mm_answer_moduli-bad-parameters

Could you try these command first?

/usr/sbin/sshd -o kexalgorithms=diffie-hellman-group1-sha1 -o HostKey=$HOME/host_key -f /etc/ssh/sshd_config -p 11111
ssh-keygen -f host_key

By the way.
On tx1, you can use nvprof to generate profiling file and then open it on host.

cd /usr/local/cuda-8.0/bin
sudo ./nvprof -o output.nvprof ~/test

http://docs.nvidia.com/cuda/profiler-users-guide/index.html#axzz4CSKdvZH5