System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Ssh from windows to unix server ?

 
Sammy_2
Super Advisor

Ssh from windows to unix server ?


I am ssh ing from windows to unix (password less). public in ojrdhes3 authorized_keys but I get this error
"No account present for user" . The user esc_dbg is present in /etc/password.
Why I am getting this ?


Jan 19 10:29:12 ojrdhes3 syslog: unix pam_sm_authenticate(sshd esc_dbg), flags = 0
Jan 19 10:29:13 ojrdhes3 syslog: Jan 19 10:29:12 ojrdhes3 syslog: unix pam_sm_authenticate(sshd esc_dbg), flags = 0
Jan 19 10:29:13 ojrdhes3 syslog: pam_acct_mgmt: error No account present for user
Jan 19 10:29:13 ojrdhes3 syslog: pam_sm_acct_mgmt: 0 1 esc_dbg
Jan 19 10:29:13 ojrdhes3 syslog: pam_sm_acct_mgmt: error 0
Jan 19 10:29:13 ojrdhes3 syslog: pam_authenticate: error Authentication failed
Jan 19 10:29:13 ojrdhes3 syslog: pam_sm_acct_mgmt: exiting, error 0

good judgement comes from experience and experience comes from bad judgement.
4 REPLIES
Steven E. Protter
Exalted Contributor

Re: Ssh from windows to unix server ?

Shalom,

Very little to go on here.

I guess pam is not configured to use the /etc/passwd file or the auth failure is occurring on an external server like an ldap server.

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
Sammy_2
Super Advisor

Re: Ssh from windows to unix server ?

Yes, this is on unix ldap. But, it is suppose to look at /etc/passwd first and then ldap.
Let me do some more digging. Thanks Steve.
good judgement comes from experience and experience comes from bad judgement.
Viktor Balogh
Honored Contributor

Re: Ssh from windows to unix server ?

>The user esc_dbg is present in /etc/password.

another idea: there might be an inconsistency in your passwd file. check with:

# pwck 2>&1 | grep esc_dbg

****
Unix operates with beer.
Sammy_2
Super Advisor

Re: Ssh from windows to unix server ?

I got it. I had to use .rhosts file. thanks. closeing thread.
good judgement comes from experience and experience comes from bad judgement.