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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssh to linux 1

Status
Not open for further replies.

mrregan

MIS
Nov 2, 1999
490
US
We would like to get ssh configured so we can login from outside our offices securely. I have loaded Putty on my pc. When I connect to linux with ssh it accepts my standard login and password. What do I need to do to force Linux not allow my office password when ssh is used to connect instead of telnet?
 
Connecting via ssh or telnet has no bearing on the user you log in as. SSH is encrypted, telnet is not. You will still connect to the linux box using the same user you connected through using telnet. I would shut down the telnet port though, and force everyone to connect through SSH.
 
What password would you prefer? With SSH you could:

1. Alter the PAM configuration to authenticate against a different database
2. Allow only certain users to connect, something like 3. Disable passwords entirely and use public key authentication.

The normal behaviour is to permit any user except root to connect via SSH using the password in /etc/shadow.
 
Thanks to both of you for your replies. I think lgarner has given me exactly what I was looking for. My other question is what controls whether ssh looks for the public and private keys in the home/.ssh folder. My testing doesnt seem to care whether I have the keys created in the home directory or not. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top