Re: account control to ssh
From: Andrew J Caines (A.J.Caines@altavista.net)
Date: 03/29/01
- Next message: Erick Mechler: "Re: Forwarding of ports via ssh"
- Previous message: Michael Richards: "Forwarding of ports via ssh"
- In reply to: George.Giles@mcmail.vanderbilt.edu: "account control to ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 29 Mar 2001 00:20:30 -0500 From: Andrew J Caines <A.J.Caines@altavista.net> To: security@FreeBSD.ORG
George,
> How would I restrict incoming ssh connections on a per user basis ?
While others have mentioned other more general config parameters to
restrict access in a broader fashion, this is one of the two basic
functions of SSH - strong authentication, the other being encryption.
If you only allow key authentication by setting "PasswordAuthentication
no" in in/etc/ssh/sshd_config, then only the users you explicitly
authorise by putting their public key in their account's authorized_keys
or authorized_keys2 file can log in to the system.
-Andrew-
-- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@altavista.net | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
- Next message: Erick Mechler: "Re: Forwarding of ports via ssh"
- Previous message: Michael Richards: "Forwarding of ports via ssh"
- In reply to: George.Giles@mcmail.vanderbilt.edu: "account control to ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]