LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Debian SSH problem (https://www.linuxquestions.org/questions/linux-networking-3/debian-ssh-problem-307665/)

koko13 03-30-2005 02:06 AM

Debian SSH problem
 
Hello Everybody!

I have a little problem with debian ssh.
It allows only the root login. If I try to log in as a user it says: Permission denied. (Before the bash prompt appears)
I checked the rights on the user's home directory and it is OK. The passwd file is OK. (The shell is defined /bin/bash).
I've tried PAM and RSA authentication but didn't work.
I've debugged on another port but it hasn't helped me.
Thanx in advance!

Koko13

TigerOC 03-30-2005 05:53 AM

Can you explain how you are trying the login. The normal way is ssh user_name@server.name.

fr_laz 03-30-2005 06:19 AM

Hi,

default behaviour is that root canNOT login through ssh...
have a look to /etc/ssh/sshd_config : maybe the DenyUsers and AllowUsers options are used to restrict access.

koko13 03-31-2005 12:12 AM

I've tried to login: ssh -l 'username' 'IP address' and ssh -l 'username' -p 'portnum' -vvv 'ip address' when I used the debug mode. But the debug mode wasn't help me. I've already checked the sshd_conf file and it seems to be OK.
Any idea?


All times are GMT -5. The time now is 04:15 AM.