|
|
Another method of passwordless SSH logins
I don't understand what is trying to be accomplished with this hint. Do you want to be able to SSH into your Mac or another machine without entering a password? Well, that's what private key authentication is for. On the machine you are SSHing from (source machine), generate a private key:
If you use the default values for all the promps, you should now have and files. Copy the contents of the .pub file to your clipboard or somewhere. The contents should be one long line that looks something like:
Connect to the machine you want to ssh to (destination machine) the old way, using your password.
Now, paste the contents of the .pub file from the souce machine to the end of
That's it. You should now be able to ssh from one machine to the other without entering a password. If you want to ssh to another machine, you don't need to rerun ssh-keygen. Just use the same
oops, typos
That first command should've been
Run a man ssh-keygen to see more options.
Something's Not Right
Something missing here...
Something's Not Right
Make sure you scp your .pub file over to the other machine. Don't paste it in via a term window.
Re: Something's Not Right
This maybe a little late , but I had the same problem....
Solved it by changing to a blank passphrase
typed in the old passphase "pluto"
hit return for new and reenter.
to copy the file over I first mounted the volume with
Finder>Go Menu>connect to server>selected "user Name"
then in termonal:
:D
Another method of passwordless SSH logins
Obviously you didn't you even spend 30 seconds to read the description of ssh keychain on the web page. I guess that is your loss |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.11 seconds |
|