SSH Key

From XinCheJian
Jump to navigation Jump to search

Creating an SSH Key

Linux

cd ~/
cd .ssh
ssh-keygen

This will take you into your home directory.
Then you will go into a hidden directory ".ssh"
ssh-keygen will create the direction.

Too look at the file:

cat id_rsa.pub
less id_rsa.pub

less will paginate the contents of the file.


You should get something that looks like:

ssh-rsa AAAza3NzaC1yc2EAAAADAQABAAABAQDVw1y5XSkGsBz+dDnxwhgpBJ+8zuSIdj6ReoCNhd3sgh
JsjxwXhuRBH+9F2Du0/qoOAScoy0FVDzTodIZ8aZLbYJLVlG2ZveB+fzCKKmvmCOCWWHMd62MU4GkskrYu
pioqGTQ8L7jLiA3P4LCt6G6IOiIkpSf4lwegY1xBGZ5xCITSzXZneC0Q97EkbwIjOOX6d3Akemj0X50vT8
ZkJDYq9CSJJSyFzgn1Ja3Tg8C9vVcJIjlA8poxDmxzEufv1N1/i0EOTa2AscNPAndRHHdPL4slCist/mhp
affqYZx0HeP+41PE+ZJCDCcog9rQCc44Fr37Li4Tu3CLONg/ulef you@yourlaptop


See also