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.
Who is Participating?
albuitraConnect With a Mentor Commented:
do you assign a valid shell ?
could you look for errors in /var/adm/messages or /var/log/messages ?
Maybe the ssh daemon doesn't allow password authentication
check in sshd.config for password_authentication
jremy9Author Commented:
it is set to yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

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.
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.
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.

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
Check shell the /etc/passwd file.

grep user /etc/passwd

it seems like noshell,

change it in /etc/passwd file

it ll work.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.