Open saswat0 opened 4 months ago
Hi, I had the same problem. It seems that when TensorHive is using Paramiko 2.7.2 (https://github.com/paramiko/paramiko) to generate a RSA Key. Unfortunately, it's generating a SHA-1 key which is deprecated by OpenSSH in version 8.8.
In order to have TensorHive connecting to my SSH GPU server, I had to add this options in my sshd_config
PubkeyAcceptedAlgorithms = +ssh-rsa
.
Actually, because, I only wanted to accept SHA1 key from TensorHive only, I added at the end of my sshd_config
#Allow SHA1 from TensorHive
Match Address @IP_TensorHive_Server/32
PubkeyAcceptedAlgorithms = +ssh-rsa ```
Subject of the issue
I'm trying to setup tensorhive on a system and get the following error upon running
tensorhive test
(I've masked the hostname by a dummy name)Your environment
List relevant info:
Steps to reproduce
I have created a user named
tensorhive
in the node. I can SSH into it from my laptop and from the node itself without password (by copying the SSH public key). The node is accessible byuser@hostname.univ.edu
. However, when I runtensorhive test
, I get this error.My
hosts_config.ini
looks like thisExpected behaviour
App should launch without errors
Actual behaviour