LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2003, 01:41 PM   #1
toccoa
LQ Newbie
 
Registered: Jul 2003
Distribution: red hat 9
Posts: 1

Rep: Reputation: 0
Question SSH Config - non-root users


I just installed Red Hat 9 on a dell600sc. I have sshd started as a service. I can ssh into the box as root ( I know I am wrong but it is inside the firewall ) from ssh on Mac OS X or secureshell on W2k . It works fine.
Using either of the machines, ssh in as user gary it validates password and then I get connection reset by peer.

I google for hours to no avail.
my host.allow and host.deny are only comments.
my sshd_config jas allowusers gary.
So obvious stuff: sshd running, ports available, etc are not it since root can ssh in.

TIA
 
Old 07-18-2003, 10:07 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Welcome to LQ
I've got a theory...

Try, as root, to change this users password:
passwd - gary
And then try logging in as gary again. Short of that, can you post up any relevant log files that contain information on this:
/var/log/syslog
/var/log/sshd/current (depending on what logger you have..)

Col
 
  


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
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM
Different video drivers are loaded for root and non-root users triet Linux - Software 1 12-31-2004 02:20 PM
ssh behaves different for root and users lopette Linux - Software 1 11-20-2004 06:09 AM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM
block SSH connection to non root users mangueJOE Linux - Networking 3 07-11-2002 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 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