I would like to explain more on Emrald214s answer on MTPutty as its a nice free software. That way the private key is always encrypted, and you only have to type in a passphrase once in a while. Then use Pageant to manage your passphrase. Once this is done, you just have to select the session, and you are logged in.Ī more secure way is to store your private key in an encrypted file, using a passphrase. Then save this session (I'm assuming you also set up the account, IP address, etc.). In the PuTTY session, go to Connection=>SSH=>Auth and click browse and select where you stored your private key "It's a *.ppk" file. Once this is done, then you have to create a PuTTY session where the private key is used. If this is the first time you have created the ~/.ssh/authorized_keys file, make sure the directory and file are not group or world readable. The second is the key which should end with the characters "=" the third field is optional, and will contain what you put in the Key Comment field. There should be three fields on a single line. Log into the remote machine, and copy/edit, then append the public key into the ~/.ssh/authorized_keys file in the same format as the other keys. When I copied this file over to Windows, the system insisted on splitting the single long line into multiple lines with "\" between the lines. I'd use the 'J' command to join two lines, then search for spaces and delete the spaces between the lines. Personally, I would copy the file over to the Linux machine, and then edit it, because editors like vim are much more tolerant of long lines. Ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEA5Kp+G9z8eE0MpPZL9JZksstIa3L9JEND6ud11IiD6f1jw/7Lv7CvZcCdkOVMT+DlTbryRoqfbNMLkjajqNTUGBAscTduUtPYuQtYEQgtbJdhyHtTHK9XwiKeQr7LjHZcEg3osYh+MzZFscldQMaZ26AKh81EC9XuIu98snjOBM0ysb14Uu7hMvti5Xd3kSW7ctL2j1ORuRgZX6LHihaezvsBFI5SlZ4vyxymRKQnyV6OkMNMXESJpXh3cTMIIGtDJtbbYvh5Qs0f3O1fMiQYyz2MjGphdzBihq85a1SHx0LBk31342HsCiM4elZkicmjmy0qYGShmzh1kfZBKiBs+xN4tBEyjRNYhuMGP2zgpr9PFO1buYdLah5ab3rubB5VbbRP9qmaP2cesJSN91luc099gZ+CgeBVIiRr1EYTE8TqsSBdvmu3zCuQgDVcSAoubfxjM4sm3Lb6i4k4DJmF57J6TrcyrSIP9HPDuBuYoOfSBKies6bJTHi9zW2upHqNlqa2+PNY64hbq2uSQoKZl1SxwSCvpbsYj5bGPQUGs+6AHkm9DALrXD8TXivQ+IsWEV3wnXeA4I1xfnodfXdhwnybcAlqNrEwKb3wGWdf3d8cu+mJrJiP1JitBbd4dzYM0bS42UVfexWwQSegDHawAby0MW0= rsa-key-20160822
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |