ssh setup and configuration

- 1 min

Summary:

Working with ssh can be annoying at times, copying keys around and debugging access issues with public-key authentication. I recently came across a face-palm moment when my .ssh directory had write permissions for the group.

Despite previous experience, I was still fumbled by why my configuraiton wasn’t working. My /etc/ssh/sshd_config had all the correct settings. This simple mistake unforunately lead to making extra keys, double checking confiugration and restarting the service more than needed and checking logs.

Thanks to some savior at StackExchange I realized the error.

I don’t plan to go into detail on how ssh keys work or how to configure your server to use them, there are enough resources available already. You’ll get so much more out of reading the man pages and learing to really utilize the whole suite of tools that ssh has to offer. I’m using this blog as more of a bookmarking tool.


## My Notes:

ssh-copy-id -i ~/.ssh/rsa_id.pub username@hostname


## Links:

rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora