Jump to content

Key authentication Ubuntu


freelance84

Recommended Posts

I've recently set up my own server on ubuntu, however i was wondering. I think that using a long password to log in via ssh is more secure than using keys...

 

If someone got onto my computer then they would have direct access to my server with out the need of a password....

 

Also, using secure keys is a bit annoying as i then have to create a new key for every computer wanting access to the server, if i ever need to access the server away from work for what ever reason i will have difficulties.

 

If the passwords are changed on a regular basis?

Link to comment
Share on other sites

 

The following link: http://www.rackspace.com/knowledge_center/index.php/Basic_Cloud_Server_Security#SSH_keygen

 

Discusses the use of keys, one held on the server and one on the local machine you are accessing the server from.

 

It also says to configure the sshd_config file to not accept passwords, thus only allow access to the server with matching keys.

 

 

I was just wondering how other people dealt with this, do other people use keys to access their servers or not? As passwords add a bit of flex, allowing users to access the server from different machines without having to create new keys all the time.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.