« Ssh host based authentication » : différence entre les versions

Aller à la navigation Aller à la recherche
Ligne 4 : Ligne 4 :


<pre>
<pre>
ssh-keyscan -t rsa,dsa,ecdsa client.domain.tld >> /etc/ssh/ssh_known_hosts
ssh-keyscan client.domain.tld >> /etc/ssh/ssh_known_hosts
cat /etc/ssh/ssh_known_hosts | cut -d" " -f1 >> /etc/hosts.equiv  
cat /etc/ssh/ssh_known_hosts | cut -d" " -f1 >> /etc/hosts.equiv  
</pre>
</pre>
4 231

modifications

Menu de navigation