|
|
A shell script to upload SSH keys to remote machines
This is nice, but my main problem is figuring out how to export my keys to different flavors for different machines... it drives me batty. I need to go from OSX to various linux and freebsd machines and it never seems to be as easy as I expect. I RTFM, import / export the public keys, fiddle with things and half the time can never get it to work with no indication as to why. I try running the ssh client in super-debug mode and it spits out a lot of things its trying, but that's usually not what I need (the server side of the story).
A shell script to upload SSH keys to remote machines
There is no messy import/export in SSH keys between OSX, BSD, or Linux. They all use OpenSSH, which is the current defacto standard. All that's necessary is to copy the keys over. When copying the keys it is absolutely critical that the permissions on the files are correct. SSH will ignore keys if permissions are too open. The .ssh directory should not be readable or writable by anyone but you. drwx------ .ssh/ -rw------- .ssh/authorized_keys -rw------- .ssh/id_dsa -rw-r--r-- .ssh/id_dsa.pub |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|