SSH using public key

Normally when I ssh to a host, I use a command like ssh name@www.host.org and it will prompt for a password and then I'm in. If you use a public key, you can generate it with

$ ssh-keygen -b 512 -t dsa

where -b 512 could be 512 or 1024 bits in length and -t dsa could be dsa or rsa. So, after doing this, you can now ssh to a host with just

ssh www.host.org

and it won't even prompt for a password (security risk) as long as you don't give it a passphrase when it prompts with ssh-keygen. You may want to read up on this or man ssh-keygen for more help.

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.