LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-16-2020, 06:25 AM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Lightbulb SSH without password with dot pem file


Hi guys, i got an openstack server vm.
A ".pem" file is used to login via ssh.
User was configuring some application and it was asking for a password.
But since it uses a ".pem" file, what is the password?

Or need to create a password with the account the uses ".pem" file?

Thanks.
 
Old 11-16-2020, 06:33 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
The authentication certificate is unrelated to the account's system password. Such a certificate is just a signed key but the server checks the validity of the signature first against another key before accepting the authentication key. That authentication key can and should have a strong passphrase, for most use-cases, but that will be separate from the system password.

Can you please rephrase the problem? It sounds like they can log in using an SSH certifiate but don't know their own system password for the account on the server.
 
1 members found this post helpful.
Old 11-16-2020, 07:19 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
@Turbocapitalist, yes they can login via SSH with the certificate but don't know the system password.

The login account via ssh is the default one from OpenStack, name is Ubuntu.

Should a password be created for this account?

Thanks.
 
Old 11-16-2020, 08:17 AM   #4
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
If they're not doing anything with sudo or anything else which requires additional authentication then there is no pressing need to provide a password. However, do make sure that the default password has been changed.
 
1 members found this post helpful.
Old 11-16-2020, 04:52 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Thumbs up

Quote:
Originally Posted by Turbocapitalist View Post
If they're not doing anything with sudo or anything else which requires additional authentication then there is no pressing need to provide a password. However, do make sure that the default password has been changed.
Thanks Turbocapitalist, I got it now. I got confused with the certificate and the password.

I think they will need to create or change the default password since sudo is needed at times. Cheers! Thanks again for your help.
 
  


Reply

Tags
pem, ssh



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
Is it possible when posting in bbs dot archlinux dot org there is no way to attach text? stf92 Arch 2 07-19-2018 08:19 PM
dot space dot binary_0011 Linux - Newbie 5 09-14-2006 07:43 AM
useradd not accepting dot so i am not able to use dot in mail id hanu_raob Linux - General 5 05-13-2004 07:04 AM
dot and dot dot gag Linux - Newbie 4 10-17-2003 05:57 PM

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

All times are GMT -5. The time now is 09:51 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