Traffic monetization

Quick OpenSSH private/public key generation using PuTTyGen [kichimi.co.uk]
 

Quick OpenSSH private/public key generation using PuTTyGen

Open PuttyGen, hit Generate, do NOT set a passphrase (unsafe!) if you intend to use it for rsync over ssh.

authorized_keys

Copy the text from the authorized_keys box in PuTTyGen. Put it on the server that you want to connect to. in .ssh/authorized_keys

Public Key

Save the public key. Keep it safe.

Private Key - PPK

Save the Private key It should save as a .ppk. It's for PuTTy and WinSCP; so just keep it somewhere safe locally.

Private Key - OpenSSH

Click the Conversions menu, and hit “Export OpenSSH key” Put it on the server you want to connect from in ~/.ssh/whatever

Open up ~/.ssh/config Add in

IdentityFile ~/.ssh/whatever

chmod 600 ~/.ssh/config ~/.ssh/whatever

Woohoo!

Now you should be able to just do ssh username@remoteserver and login without a password.

Or add the key into your connection settings with PuTTy or WinSCP and connect that way.

Thrown together by (Frag)

 
quickprivatekey.txt · Last modified: 2011/01/24 16:01 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki