SSH Mastery: OpenSSH, PuTTY, Tunnels and Keys by Michael W Lucas

SSH Mastery: OpenSSH, PuTTY, Tunnels and Keys by Michael W Lucas

Author:Michael W Lucas [Lucas, Michael W]
Language: eng
Format: epub
Publisher: Tilted Windmill Press


As of this writing, the most common type of user key is a RSA key. OpenSSH stores your RSA public key in the file $HOME/.ssh/id_rsa.pub. PuTTY's key generator lets you name your key files, but we'll assume you use the file name id_rsa.pub to make the examples easier.

To use your public key, you must copy it to the authorized_keys file in your account on the server. You can select and copy the public key in your graphic interface and paste it into the $HOME/.ssh/authorized_keys file on your server, but this can introduce errors. Uploading the public key file via SFTP or SCP and then concatenating it onto authorized_keys is more reliable. Remember, each key must be on one and only one line in authorized_keys. More than one of my simple cut-and-paste attempts have turned to tears, then to threats of starting a new career as a llama smuggler, only to end in a manic-depressive binge at the nearest gelato shop. Have the machine copy the file. It's better at it than you.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.