cancel
Showing results for 
Search instead for 
Did you mean: 

ssh problem

 
Highlighted
Advisor

ssh problem

I have two servers ( serverA and serverB ) , and setup ssh without password , I use the command "scp file testusr@serverB:/tmp " can scp file to serverB without password , it used for long time without any problem , but I don't know why I suddenly can't use it , I tried to re-setup it and restart sshd , but still not work, the error is

testusr@serverB's password



can advise what is the possible reason of it ? what can i do ? thx in advance.
3 REPLIES 3
Highlighted
Honored Contributor

Re: ssh problem

If it's asking for a password, then it's a
pretty safe bet that there's a problem with
the public-key authorization stuff.

"ssh -v [...]" may provide some details
showing what fails where. The system log
file(s) on the server may tell you more about
why.

> [...] I tried to re-setup it [...]

Not a useful description of what you did.
Highlighted
Exalted Contributor

Re: ssh problem

Shalom,

Check this setup doc:

http://www.hpux.ws/?p=10

Most common cause or problems is ownership and permissions on home directory, .ssh directory and files within.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Advisor

Re: ssh problem

check the account expired or not
Technology to empower all