Bonjour
J'ai cree une clef pour se connecter au server avec clef SSH, lors de sa copie sur le serveur, une erreur est survenue:
Notes sur sshd_config:Code:
1
2
3 ssh-copy-id -i root/.ssh/id_dsa.pub root@IP_SERVEUR /usr/bin/ssh-copy-id: ERROR: No identities found
merci a vousCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 LoginGraceTime 120 PermitRootLogin no AllowUsers admin StrictModes yes RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile %h/.ssh/authorized_keys # Don't read the user's ~/.rhosts and ~/.shosts files IgnoreRhosts yes # For this to work you will also need host keys in /etc/ssh_known_hosts RhostsRSAAuthentication no # similar for protocol version 2 HostbasedAuthentication no # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes PermitEmptyPasswords no