« Ssh host based authentication » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « =Sur le serveur= <pre> ssh-keyscan -t rsa,dsa client.domain.tld >> /etc/ssh/ssh_known_hosts cat /etc/ssh/ssh_known_hosts | cut -d" " -f1 >> /etc/hosts.equiv </pre> Modi... » |
(Aucune différence)
|
Version du 28 septembre 2013 à 19:21
Sur le serveur
ssh-keyscan -t rsa,dsa client.domain.tld >> /etc/ssh/ssh_known_hosts cat /etc/ssh/ssh_known_hosts | cut -d" " -f1 >> /etc/hosts.equiv
Modifiez /etc/ssh/sshd_config
HostbasedAuthentication yes
Si vous souhaitez permettre le login root
cp /etc/hosts.equiv .shosts
Modifiez /etc/ssh/sshd_config :
IgnoreRhosts no