ssh (as different user)

Net Llama! netllama
Mon Jun 18 06:54:04 PDT 2007


On Mon, 18 Jun 2007, Dirk Moolman wrote:
> Maybe one of you could help me.    I have set up ssh between 2 servers,
> so that I can ssh as the root user from the one server to the other
> server.  This works fine.
>
>
> My problem:
>
> I copied root's public rsa key, on the source, to oracle's
> authorized_keys file on the target, and now try to "ssh -l oracle", to
> the target server, but it prompts me for oracle's.   I also copied
> oracle's public rsa key, to oracle's authorized_keys file on the target
> server, but it still asks me for a password.
> The password I have to specify, is the oracle user's password on the
> target server.
>
> Any ideas why I cannot do this without a password ?

I dont' know what file you copied, but what you should have copied is 
~/.ssh/id_dsa.pub.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org



More information about the Linux-users mailing list