Re: Accepting only known clients to connect using ssh
From: Jorey Bump (devnull@joreybump.com)Date: 07/31/02
- Next message: William MacLeod: "Re: hiding encrypted password in ypcat passwd"
- Previous message: Stefan Schwietert: "Re: syslog.conf with strange entries?"
- In reply to: Bengt Bäverman: "Accepting only known clients to connect using ssh"
- Next in thread: Bengt Bäverman: "Re: Accepting only known clients to connect using ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Jorey Bump <devnull@joreybump.com> Date: Wed, 31 Jul 2002 12:53:55 GMT
Bengt Bäverman wrote:
> Hello,
>
> I have looked in several places but cannot find a way of only accepting
> clients, connecting using ssh, whos public keys I know of already. If a
> client is not already known it should be rejected. I want this to be
> globally defined for the whole server, and not user specific. How di I
> configure sshd correctly to get this functionality?
>
> Today when a new client connects it is accepted as long as the correct
> username/password is supplied, but this is not enough for me. I want only
> a controlled few to be able to connect to my server.
The easiest way is to add this to /etc/ssh/sshd_config:
# only these users are allowed to ssh (for now)
AllowUsers bob ted alice
# no login allowed for root - use su, instead
PermitRootLogin no
This allows fine control over which users should be allowed to ssh.
- Next message: William MacLeod: "Re: hiding encrypted password in ypcat passwd"
- Previous message: Stefan Schwietert: "Re: syslog.conf with strange entries?"
- In reply to: Bengt Bäverman: "Accepting only known clients to connect using ssh"
- Next in thread: Bengt Bäverman: "Re: Accepting only known clients to connect using ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|