Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssh problem

Status
Not open for further replies.

Yarka

Technical User
Jan 14, 2007
192
ES
I can´t connect by ssh from A server to B server without password.
I have the message:
[A].psw:/aa/psw/.ssh> ssh -v B
...
debug1: next auth method to try is publickey
debug1: try privkey: /aa/psw/.ssh/identity
debug1: try privkey: /aa/psw/.ssh/id_rsa
debug1: try pubkey: /aa/psw/.ssh/id_dsa
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is keyboard-interactive
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is password
psw@B's password:

My user (psw) no blocked, no expired. My lsuser is:
... login=true su=false rlogin=true daemon=true admin=false sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=27 registry=files SYSTEM=compat logintimes= loginretries=3 pwdwarntime=0 account_locked=false minage=1 maxage=4 maxexpired=-1 minalpha=4 minother=2 mindiff=4 maxrepeats=1 minlen=6 histexpire=12 histsize=3 pwdchecks= dictionlist= dce_export=false fsize=40971511 cpu=-1 data=262144 stack=65536 core=2097151 rss=65536 nofiles=2000 time_last_login=1203525753 time_last_unsuccessful_login=1205493784 tty_last_login=/dev/pts/11 tty_last_unsuccessful_login=/dev/pts/5 unsuccessful_login_count=0 roles=

Can anybody help me?

Thanks.
 
Check the permissions on the users home directory and on the .ssh directory. chmod both to 700 in the first instance and see if that works.

On the internet no one knows you're a dog

Columb Healy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top