passwordless ssh

Linux bir makinadan SSH ile bir sunucuya benim gunde birkac kez baglaniyor ve her seferinde baglanirken password yazmaktan biktiysaniz, linux client makinada asagidakileri yapin, remote_server_hostname yerine de baglanmak istediginiz ssh sunucusunun ip adresini veya ismini yazin.

ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub | ssh remote_server_hostname “cat – >> ~/.ssh/authorized_keys”

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>