sshkey
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
sshkey [2011/04/05 16:04] – cangiani | sshkey [2011/04/05 16:04] – cangiani | ||
---|---|---|---|
Line 36: | Line 36: | ||
Let's set it up. | Let's set it up. | ||
- | |||
- | |||
- | ==== Apple Os X & Linux ==== | ||
- | |||
- | * Open a terminal emulation window | ||
- | * Execute the command | ||
- | |||
- | $ ssh-keygen -t dsa | ||
- | |||
- | * When the system ask a name for the file **id_dsa** just press enter | ||
- | * Do the same for the **id_dsa.pub** file | ||
- | * cd in your .ssh directory with | ||
- | |||
- | $ cd ~/.ssh | ||
- | |||
- | * Execute this command | ||
- | |||
- | $ cat id_dsa.pub | ||
- | |||
- | * Open another window and from this connect to the public access server **lth.epfl.ch**. login as usual | ||
- | * cd in .ssh directory with | ||
- | |||
- | $ cd ~/.ssh | ||
- | |||
- | * Execute the command | ||
- | | ||
- | $ 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. | ||
- | * press the " | ||
- | * Try to connect to **lth.epfl.ch**, |
sshkey.txt · Last modified: 2022/08/05 13:20 by admin