Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH

Status
Not open for further replies.

sanmi

MIS
Oct 20, 2006
35
US
Hello,

I just installed SSH on one of my servers, 13 more servers to go.
I was able to ssh in the server as root (Which is really what I don't want)...I cannot log in as ordinary user. It prompts for password in the Apsswdord Authentication screen, accepts the password, get you onto the server, and then asks for a password again.

When I retype the password, I get the following message.

Last login: Mon Feb 19 15:48:00 2007 from ...Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004
Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004
Password:


su: Sorry
Session is closed
Disconnected from server

Thanks in Advance,
Sanmi
 
You need to set the following in sshd_config:

Code:
PermitRootLogin no
PasswordAuthentication yes

I use public keys since I am on a closed network...it eliminates the need for passwords. Also, I think there is a bug somewhere about SSH -not sure which version- and using the su command. Check their website for more info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top