Shinji Kuwayama

Archive for June, 2008

23 Jun, 2008

An SSH one-liner to authorize via public-key

Posted by: Shinji Kuwayama In: Tech Tips

Here’s a two-part tip on SSH productivity—you can use public-key authentication and SSH’s built-in configuration options to save some time every day.
1) Authorize your public key. If you’re like me, it’s a bother to remember each little step — here’s the one-liner I use for convenience.
> ssh someuser@remotehost.com “echo `cat ~/.ssh/id_rsa.pub` >> ~/.ssh/authorized_keys”
This will [...]


About

View Shinji Kuwayama's profile on LinkedIn Shinji Kuwayama is a Rails developer in Chicago, Illinois.

Twitter

Posting tweet...