password-less_ssh_between_linux_machines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
password-less_ssh_between_linux_machines [16.05.2014 14:25] – created Pascal Suterpassword-less_ssh_between_linux_machines [16.05.2014 14:27] Pascal Suter
Line 25: Line 25:
  
   ssh username@server   ssh username@server
-  cat id_rsa.pub >> .ssh/authorized_keys2+  cat id_rsa.pub >> .ssh/authorized_keys
   exit   exit
  
Line 32: Line 32:
   ssh username@server    ssh username@server 
  
-without a password prompt+without a password prompt. if it does not work i occasionally had to use the filename ''authorized_keys2'' instead of the one above, so maybe try adding that number on the end of the file name. other than that it should work like that. don it on many different distributions for quite some time now and it always worked this way. 
  
 more detailed infos in german can be found here: more detailed infos in german can be found here:
 http://www.kriegisch.at/~adi/docs/unix/ssh_autologin.html http://www.kriegisch.at/~adi/docs/unix/ssh_autologin.html
  • password-less_ssh_between_linux_machines.txt
  • Last modified: 25.10.2023 11:11
  • by Pascal Suter