Changes

Jump to: navigation, search

OPS235 Lab 7 - Fedora17

663 bytes added, 19:22, 15 March 2010
no edit summary
** <code>cat ~/id_dsa.pub >> ~/.ssh/authorized_keys</code>
{{Admon/important | Note! | You don't want to overwrite the file as it may contain multiple public keys. Make sure you are using the append redirection '''>>''' and not '''>'''.}}
* Once again you should secure the <code>.ssh</code> directory and the <code>authorized_keys</code> file using the following commands:
** <code>chmod 700 ~/.ssh</code>
** <code>chmod 600 ~/.ssh/authorized_keys</code>
* Logout of fedora3 and log back in again.
* You should be prompted to enter your passphrase to unlock your private key.
{{Admon/tip | Tip: | If you are connecting from terminal started from in your GUI environment you can also choose it to remember your passphrase every time you login to the GUI.}}
* Now we can ssh into fedora3 from fedora2 using 2 different authentication methods.
* Answer the Investigation 3 question in your lab log book.
9
edits

Navigation menu