Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| password-less_ssh_between_linux_machines [16.05.2014 14:25] – created Pascal Suter | password-less_ssh_between_linux_machines [25.10.2023 11:11] (current) – [ssh auto login under Linux] Pascal Suter | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== password-less ssh between linux machines ====== | ====== password-less ssh between linux machines ====== | ||
| - | this was a pretty popular | + | this was a pretty popular howto article i wrote a while ago to my old blog which is now offline. hence i copied it here in case anybody still needs it. |
| + | |||
| + | the [[ssh autologin with putty]] article is another of these old posts i've rescued | ||
| ====== ssh auto login under Linux ====== | ====== ssh auto login under Linux ====== | ||
| Line 21: | Line 23: | ||
| scp .ssh/ | scp .ssh/ | ||
| - | now connect to the server through ssh and add the contents of the copied file to your '' | + | now connect to the server through ssh and add the contents of the copied file to your '' |
| if this is the first time you do that, then you have to create both, the directory and the file. | if this is the first time you do that, then you have to create both, the directory and the file. | ||
| 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 34: | ||
| 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 '' |
| more detailed infos in german can be found here: | more detailed infos in german can be found here: | ||
| http:// | http:// | ||