LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-30-2005, 02:06 AM   #1
koko13
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 03-30-2005, 05:53 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Can you explain how you are trying the login. The normal way is ssh user_name@server.name.
 
Old 03-30-2005, 06:19 AM   #3
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
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.
 
Old 03-31-2005, 12:12 AM   #4
koko13
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
enabling ssh logins on debian rjshirts Linux - Software 12 11-11-2013 04:09 PM
SSH in Debian Sarge securitybreach Debian 4 06-08-2005 02:15 PM
Debian SSH. zaicheke Debian 2 11-01-2004 08:16 AM
Debian ssh access problems IgnorantPup Linux - Software 2 03-15-2004 03:09 PM
Use ssh to run Debian from Mandrake!! ar1 Linux - General 3 02-02-2004 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration