LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2024, 03:11 AM   #1
tem.penlington
LQ Newbie
 
Registered: Sep 2023
Posts: 5

Rep: Reputation: 0
Ubuntu Server 20.04 SSH multiple public keys in authorized_keys not working


As a beginner i create a secure ssl private/public key login for root.
I understand this is bad practice and created a new user and added their key to the file authorized_keys which now has root and new user key. When I try to login via putty with the private key it does not allow me. What is the process to do this. I assumed as the file says authorized_keys it means multiple keys can be added, or am i wrong?
 
Old 04-08-2024, 03:16 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,313
Blog Entries: 3

Rep: Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723
SSL / TLS are different than SSH. I presume you mean SSH.

If you created the key pair using PuTTY, you'll need to convert the public key to the format used by OpenSSH before copying it to the server.
 
  


Reply

Tags
ssh public key



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux preventing ssh login with ~/.ssh/authorized_keys Seattle98122 Linux - Security 3 04-14-2017 05:15 AM
[SOLVED] Difference between .ssh/known_hosts and .ssh/authorized_keys shivaa Linux - Newbie 7 10-30-2012 12:54 PM
[SOLVED] Parallelizing Copying public key to authorized_keys file the_gripmaster Linux - Networking 4 01-25-2012 01:23 PM
ssh: is there any issue with adding my personal public key to authorized_keys? Meson Linux - Security 6 10-07-2008 12:27 AM
YUM requires public keys, how do I get public keys? GNUROCKS Linux - Newbie 3 05-29-2005 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration