1830900 Members
3359 Online
110017 Solutions
New Discussion

SSH Problem

 
SOLVED
Go to solution
Leonid Mishkind
Frequent Advisor

SSH Problem

Hi All!
I have a OpenSSH_4.2p1-hpn, OpenSSL 0.9.7i 14 Oct 2005 HP-UX Secure Shell-A.04.20.004, HP-UX Secure Shell version installed on an hp-ux 11i n4000 machine.
When I try from this host to other hosts I get the message "Permission denied (publickey)".

I have no problem connecting to the host.

What can I do to fix this?
Thanks for your help.

3 REPLIES 3
Arunvijai_4
Honored Contributor

Re: SSH Problem

Hi,

Try to run your SSH in debugging mode, # ssh -vvv and see what is going on inside the code..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
spex
Honored Contributor
Solution

Re: SSH Problem

Mishkind,

You need to generate a public and private SSH key for the client and copy the public key to the hosts you wish to connect to.

See this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1005579

PCS
Leonid Mishkind
Frequent Advisor

Re: SSH Problem

Thanks. I added the dsa.pub to the target host and it works fine.