Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,326 Categories: 12

Total Tutorial Views: 41,400,265

How to: SSH Keys in Ubuntu

Tutorial Name: How to: SSH Keys in Ubuntu  

Category: PC Tutorials

Submitted By: Ry-Nasty

Date Added:

Comments: 0

Views: 1,216

Related Forum: PC Building Forum

Share:

1

Click the "Terminal" icon on the desktop.
2

Type "mkdir ~/.ssh" -- all commands to be typed should be entered without the surrounding quotes -- and press "Enter."
3

Type "chmod 700 ~/.ssh" and press "Enter." Type "ssh-keygen -t rsa" and press "Enter." The initial key will now be generated. Press "Enter" when chosen for a filename.
4

Enter a pass-phrase to protect your key. This should be a series of words making uses of spaces and capital letters for added security. Press "enter" and confirm the pass-phrase.
5

Increase the security level, if you wish, by typing "ssh-keygen -t sa -b 4096" and pressing "Enter."
6

Transfer your key to the remote host to complete the setup process. Type "ssh-copy-id USER@HOST" -- replacing "USER" and "HOST" with the relevant username and host address. Press "Enter."
7

Log in to that host using "ssh USER@HOST" to utilize your SSH keys.

Ratings

Current rating: 1.00 by 1 user
Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"How to: SSH Keys in Ubuntu" :: Login/Create an Account :: 0 comments

If you would like to post a comment please signin to your account or register for an account.