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?

[Webinar] Streamline your web hosting managementRegister Today

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

From novice to tech pro — start learning today.