Je suis le tuto à la lettre pourtant
Je pige pas ce qui bloque dans mes commandes, je me suis même mis en root, sait-on jamais...
ssh-keygen -t rsa
root@server:/home/user/synchro# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): /root/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
xxxxxxx root@server
The key's randomart image is:
Et ensuite :
root@server:/home/user/synchro# ssh-copy-id -i ~/.ssh/id_rsa.pub admin@NAS
admin@NAS's password:
Now try logging into the machine, with "ssh 'admin@NAS'", and check in:
~/.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
Et enfin, donc :
ssh admin@NAS
admin@NAS's password:
...