Operating System - Linux
1828622 Members
1374 Online
109983 Solutions
New Discussion

not able to ssh using local user

 
SOLVED
Go to solution
praveen..
Super Advisor

not able to ssh using local user

Hi

I am able to ssh my server using “root” user.

I have created local user “test”

I am not able to ssh / telnet using “test” local user.

I am able to ftp using using “test” local user

OS: RHEL AS 4

Please suggest

3 REPLIES 3
Ivan Ferreira
Honored Contributor
Solution

Re: not able to ssh using local user

Can you please post the output of:

finger test

Also, the contents of the file /etc/ssh/sshd_config

Ensure that the user has a valid shell and right permissions in his HOME directory.

What is the error that you get?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Atul Gautam
Valued Contributor

Re: not able to ssh using local user

Pravin,

Let me know if you are able to log in to the machine from a console or not.

If not then probably, the shell assigned to the user is not correct in /etc/passwd.

Also, if you have put in the restrictions in /etc/ssh/sshd_config, then for that we need to review the same file, only then the problem can further be resolved.




ATUL
praveen..
Super Advisor

Re: not able to ssh using local user

thanks