- About
- The Story
- The Work
- The Contact
- The Photos
- Profile Pictures
- Jan 2, 2011
- Jan 14, 2011
- Jan 20, 2011
- More Crossfit Photos
- Dec 30, 2010
- SWAT Team Round Up
- Mobile Uploads
- Crossfit Pictures
- Oct 23, 2010
- Oct 15, 2010
- TweetDeck for iPhone Photos
- Jersey Shore Party
- The Start (Cory)
- Babies’ First Mom’s Day
- Zoey’s 7th Birthday Party
- 31st Birthday Party
- Apr 23, 2010
- Kids, Being Awesome
- Babies
- untitled event
- Babies’ First Santa
- Honeymoon
- JP’s 2005 Halloween Party
- Cory’s Graduation Party
- Old Stuff
- Jim & Tamara’s Wedding
- Taylor’s 30th Birthday Party
- SXSW 2009
- Crossfit Workouts
- Stuff
- DC Vacation 2007
- Wedding
- Photos of Me
I used to always refer to a different site when I wanted to remember how to setup a machine to use SSH without a password. That site (I don’t recall what it is) isn’t around anymore. So, I guess I have to post the tutorial here.
SSH is one of the major tools in what I do. For any developers out there who don’t know about it, you’re missing out. Long gone are the days of requiring screen sharing or remote desktop to manage another computer. SSH is the bomb, and it’s been around for a long time.
Here’s how to use it, without needing to enter your password when you make a connection to a remote machine:
- On the computer you’re making a connection from (i.e. your home computer)
-
- If you do not have a ~/.ssh folder already, create one.
-
ssh-keygen -t dsa -f ~/.ssh/id_dsa -P ''
-
scp ~/.ssh/id_dsa.pub <username>@<servername>:~
- Make an old-skool connection to the server you just copied your public key to (i.e. your public webhost)
- on that server:
-
-
cat id_dsa.pub >> ~/.ssh/authorized_keys2
-
chmod 0600 ~/.ssh/authorized_keys2
-
That’s it. Keep in mind, that you’ll still need to specify your username when connecting to the host (if it’s different than your username on your local machine). If you want to get around that, you’ll need to setup an SSH config file (future tutorial?).
-
http://corycollier.com/2011/04/keep-your-ssh-identity/ Keep Your SSH Identity
-
Articles
- December 2011
- August 2011
- April 2011
- January 2011
- July 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
-
Meta



