SSH User can't log in.

I created a new user for someone to log in with but the account can't never log in.  I changed the sshd_config, I gave it a password, he is in the passwd file.  I can see him in webmin and account is enabled, tried adding to a group and still can't log in.

Running Solaris 8 2/02 Sparc.

Every time I try to log in through ssh I get access denied.
jremy9Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
albuitraConnect With a Mentor Commented:
do you assign a valid shell ?
could you look for errors in /var/adm/messages or /var/log/messages ?
0
 
albuitraCommented:
Maybe the ssh daemon doesn't allow password authentication
check in sshd.config for password_authentication
0
 
jremy9Author Commented:
it is set to yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Pepino125Connect With a Mentor Commented:
also check his/her ip in the etc/hosts.allow and etc/host.deny
another test is to have him try to connect with the -vvv option. you can also have the sshd with the -vvv option for further troubleshooing in case the etc/host.allow or etc/host.deny dont work.
0
 
jremy9Author Commented:
none of these work and the person is already in the allowusers.  I still am getting access denied and am not seeing anything new in the messages log about it.
0
 
jremy9Author Commented:
so we have may have overlooked the obvious of restartinig the daemon but that was the solutions.  so i think i will pick this as the answer.  points 0.
0
 
albuitraCommented:
Hi,

IMHO, the points have to be assigned to someone who try to colaborate
Pepino125 and me give some solutions, but we can't do the obvius
0
 
unix-issuesCommented:
Check shell the /etc/passwd file.

grep user /etc/passwd

it seems like noshell,

change it in /etc/passwd file

it ll work.
0
All Courses

From novice to tech pro — start learning today.