I am on Windows 10, trying to profile a program on a Linux server with GPUs using Nsight Systems. However, I cannot connect to the remote machine. When I select password-based authentication method, Nsight Systems shows me this error:
I have reconfigured OpenSSH service, added my public key, and tested ssh from available CLIs (PowerShell, gitbash, and cmd) without any problem. Also the public-key authentication option is disabled, and I couldn’t test it:
I’d like to connect to the remote machine using ssh public-key authentication, but that’s not enabled in the GUI as I mentioned first. However, I can connect to the server with nvvp using ssh public-key. Also, connecting to the remote machine on the command line using either public-key authentication or password works just fine.
We currently does not support public-key based authentication for Linux targets, this is on our roadmap and will be supported in the future. Your feedback will help us prioritizing this feature.
As to password-based authentication, could you verify if the target system allows it? The debugging log you shared is indicating the target system does not allow password-based authentication. Could you check if /etc/ssh/sshd_config has PasswordAuthentication yes?
Thanks for your answer. That would be very helpful if you can provide that support.
I just tried again to ssh to the remote server with password and it was ok, however the sshd config file is not readable by me, as it is a shared server. So, I couldn’t verified that.
@amir.sojoodi If possible, could you add -vv switch to your ssh command line when you login to the remote server with password, and share the output? For example ssh -vv user@host.
If there are any confidential information from the output you could hide them, we just need the general output about authentification methods.