Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun May 18, 2014 2:26 pm 
Offline
Junior Member
User avatar

Joined: Fri Feb 21, 2014 7:26 am
Posts: 34
Website: http://www.alancoleman.co.uk
Location: Bath. UK
Hello everyone,

I'm now successfully using SSH2 Key pair authentication after following this tutorial - https://library.linode.com/securing-your-server

What I'd like to know is how to use this authentication method across multiple local computers.

Do I use the same private key or just go through the process of generating a new private and public pair like the first time around?

Many thanks 8)


Top
   
PostPosted: Sun May 18, 2014 2:29 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
You make a unique key pair for each computer and put each public key into the authorized_keys file.

- Les


Top
   
PostPosted: Sun May 18, 2014 5:19 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
Not sure if you mean "login _to_ multiple machines" or "login _from_ multiple machines".

If you have multiple linodes and want to use the same key to login to all of them, then just add the public key to each machine.

If you have multiple desktops and want to be able to login from all of them, then you can either copy your private key to each one, or create multiple entries (one per machine).

If you always login to one machine, from there login to others and from those machines login to your linode then you might want to look into ssh-agent; now you just have your key on one machine but allow it to be 'forwarded'. This is what I do for my home network.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


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


Who is online

Users browsing this forum: No registered users and 3 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