LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH RSA Key question (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-rsa-key-question-825613/)

dorlack 08-11-2010 02:07 PM

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

sneakyimp 08-11-2010 02:11 PM

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.

dorlack 08-11-2010 02:25 PM

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?

sneakyimp 08-11-2010 02:33 PM

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"

dorlack 08-11-2010 02:38 PM

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


All times are GMT -5. The time now is 11:57 AM.