Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Apr 25, 2014 12:01 pm 
Offline
Junior Member
User avatar

Joined: Wed Feb 16, 2011 1:04 am
Posts: 24
Hello,

I successfully set up passwordless login from one of my machines. I have been using it for quite some time. Now I would like to set up passwordless login from a second machine. So I set PubkeyAuthentication to "no" in sshd_config in Ubuntu so I could successfully copy over the pub key to my new machine. That doesn't seem to be working at all. I can't even login from the second machine.

Anyone have any advice? I've tried googling this to death already.
Thank you in advance.


Top
   
PostPosted: Fri Apr 25, 2014 12:14 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Setting "PubkeyAuthentication" off doesn't enable any other kind of authentication. You're likely going to need to log in from Lish now and re-enable that, since it sounds like you've turned off all authentication methods:

https://library.linode.com/using-lish-the-linode-shell

Once you've enabled PubkeyAuthentication again, you want to put the public key from the other system in the same authorized_keys file you put the first public key in. You can get the public key there however you'd like: it isn't secret, you can throw it in a pastebin or copy it via the first system, etc.

- Les


Top
   
PostPosted: Fri Apr 25, 2014 10:39 pm 
Offline
Junior Member
User avatar

Joined: Wed Feb 16, 2011 1:04 am
Posts: 24
Thank you for your help on this and for helping me understand a little bit more about the public/private key thing.

For anyone else with a mac who has similar issue.. i figured out I could copy my keys to my second mac machine using Airdrop. Worked like a charm.

Move SSH Keys From One Computer to Another
http://osxdaily.com/2012/07/13/move-ssh ... o-another/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group