LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-13-2013, 06:53 AM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 367

Rep: Reputation: 16
ssh and pem file


I've 2 nodes, and I can only contact them with ssh using a pem file.

(It doesn't work)
ssh user@host

(It works)
ssh -i ~/key.pem user@host

1 - If the pem file contains a private key, why it's important to access a remote host with ssh?

2 - Is it possible to replace the pem key file to a way that I can access the remote host without referring the pem file?

Last edited by xeon123; 02-13-2013 at 06:55 AM.
 
Old 02-13-2013, 07:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
the file is a preshared key. In general, you should probably just read up about what a preshared key is for. Basically it's an alternative authentication mechanism to using a password.

http://en.wikipedia.org/wiki/Pre-shared_key
 
Old 02-14-2013, 08:15 PM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,455

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
Yeah... and, I gotta say, you really wanna be using cryptographic certificates, instead! ... and disabling all other "lesser" forms of authentication.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting a new expiration date on a .pem file for apache ivanmarsh Red Hat 1 08-08-2009 02:06 PM
SSL certificate existing pem file aot2002 Linux - Server 0 10-12-2007 12:48 AM
In courier-imap imapd.pem file is not been able to create manish_2479 Linux - Networking 1 10-03-2007 07:25 PM
unable to create imapd.pem file manish_2479 Linux - Networking 0 09-13-2004 04:55 PM


All times are GMT -5. The time now is 11:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration