User Tools

Site Tools


sshkey

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
sshkey [2007/04/26 17:53] damirsshkey [2008/12/02 15:01] cangiani
Line 21: Line 21:
   * Execute this command   * Execute this command
  
-  $ cat id_dsa.pub >> autorhized_keys+  $ cat id_dsa.pub >> authorized_keys
  
 From now, every time you connet to a server, the server will recognize your workstation automatically (it read the ~/.ssh/authorized_keys file everytime you connect) and you can login without bothering with the password. From now, every time you connet to a server, the server will recognize your workstation automatically (it read the ~/.ssh/authorized_keys file everytime you connect) and you can login without bothering with the password.
  
 ===== Ssh without password from laptop ===== ===== Ssh without password from laptop =====
 +
  
 ==== Apple Os X & Linux ==== ==== Apple Os X & Linux ====
Line 51: Line 52:
   * Execute the command   * Execute the command
      
-  $ cat >> autorhized_keys+  $ cat >> authorized_keys
  
   * Now copy & paste with the mouse the key you have in the first window (something that start with sh-dss AAAAB3NzaC1k....) to the second window.   * Now copy & paste with the mouse the key you have in the first window (something that start with sh-dss AAAAB3NzaC1k....) to the second window.
   * press the "**Ctrl+d**" key combination to close the **cat** command   * press the "**Ctrl+d**" key combination to close the **cat** command
   * Try to connect to **lth.epfl.ch**, this time you can login without inserting the password. If you can't, something is wrong, so you have to recheck all the steps.   * Try to connect to **lth.epfl.ch**, this time you can login without inserting the password. If you can't, something is wrong, so you have to recheck all the steps.
- 
- 
- 
sshkey.txt · Last modified: 2022/08/05 13:20 by admin