LinuxQuestions.org
Help answer threads with 0 replies.
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 08-11-2010, 03:07 PM   #1
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Rep: Reputation: 2
SSH RSA Key question


Hello,

I have made the switch from Intel, to Linux. I am running a local Redhat server, that I will need to SSH from, to another remote redhat server.

The remote redhat server that I need to access, already has RSA auth enabled, and I have the key downloaded on the local redhat server (the server I will be SSHing from)

I am not sure how to connect to the remote redhat server, as I do not know how to add the key. A lot of the docs I have looked at explain this process from the server side.

Can someone please help me with this?

Kind regards,
Dorlack
 
Old 08-11-2010, 03:11 PM   #2
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,027

Rep: Reputation: 67
I'm not certain, but I believe that SSH takes care of exchanging keys for you? If you have access to a terminal window on your local machine, then you just type "ssh user@remote-address.com" and it should ask you if you approve the key offered up by the machine at remote-address.com.

If you need to SSH from windows, I recommend puTTy.
 
Old 08-11-2010, 03:25 PM   #3
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
The way the remote server work, is the user has to download the private RSA key. Windows is not an option, however when I was using windows, I would convert the given RSA key and connect VIA putty.

The remote server requires they key you downloaded

here is what I get with out the key:

Warning: Permanently added '170.XXX.XXX.XXX' (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-with-mic).


how can i change the RSA key to the one I was given?

Last edited by dorlack; 08-11-2010 at 03:29 PM.
 
Old 08-11-2010, 03:33 PM   #4
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,027

Rep: Reputation: 67
OK I think I know what you mean. You want to install a particular certificate locally instead of using a password every time and you want to put the cert in the right place.

There are some hints at the bottom of this page about where the cert files should go:
http://crazytoon.com/2007/08/05/ssh-...-linux-fedora/

There are also some helpful links when you google "install ssh key on redhat"
 
Old 08-11-2010, 03:38 PM   #5
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
I dont manage the remote server. They have setup the server so that we can only connect using the key that they supplied.

I agree PuTTy executes this easy, I just ran into the road block as I am using Redhat as my local OS now
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ssh rsa key jcb344 Linux - Security 8 06-02-2009 02:44 AM
SSH rsa key PB0711 Linux - Security 3 09-10-2006 04:57 PM
SSH RSA key problem taiwf Linux - General 3 05-21-2006 10:33 PM
ssh rsa key changed after upgrade itsjustme Linux - General 11 11-06-2003 10:12 AM
ssh RSA key thanat0s Linux - Security 3 09-29-2003 10:51 PM

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

All times are GMT -5. The time now is 12:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration