[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh-rsa e rsa key pair



On 06/04/22 17:29, Walter Valenti wrote:

Ciao,
io su alcuni server "vecchi" ho aggiunto nel mio .ssh/config
Uno per ogni server.


Host __NOME__SERVER__
    KexAlgorithms +diffie-hellman-group1-sha1

ciao Walter, poi però riesci a connetterti con le chiavi rsa?



Si, senza problemi

e usi debian testing?

Questi sono i miei risultati con KexAlgorithms +diffie-hellman-group1-sha1:

$ ssh root@<hostname>
root@<hostname>'s password:
Linux <hostname> 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1~deb7u1 (2020-06-12) x86_64
[...]
<hostname>:~# logout
Connection to <hostname> closed.
$ ssh-copy-id root@<hostname>
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@<hostname>'s password:

Number of key(s) added: 1
[...]
$ ssh root@<hostname>
root@<hostname>'s password:

Non so, forse sbaglio qualcosa?

Piviul


Reply to: