The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,419 other followers

ssh-keygen: password-less SSH login script (via Novell User Communities)

Posted by jpluimers on 2012/01/20

I usually get at least one step wrong when doing ssh-keygen and transferring they public key by hand, so here [WayBack] is a nice script called trusted-key-exchange.sh that helps you install a private/public keypair for remote SSH login without having to type a remote password.

Edit:

The script uses ssh-copy-id to actually perform the copying of the public key portion to the destination server. So you can also use this command to do that yourself:

ssh-copy-id -i ~/.ssh/id_ed25519.pub user@target-host ssh-copy-id -i ~/.ssh/id_rsa.pub user@target-host

Note that at the time of editing (early 2018), you should not use DSA based keys any more; see [WayBack] Secure Secure Shell.

Note:

–jeroen

via: [WayBack] ssh-keygen: password-less SSH login script | Novell User Communities.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

 
%d bloggers like this: