Re: Accepting only known clients to connect using ssh

From: Bryan Packer (bryanp@visi.com)
Date: 07/31/02


From: Bryan Packer <bryanp@visi.com>
Date: Tue, 30 Jul 2002 22:41:43 -0500


"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?

Set the option in sshd_config for PasswordAuthentication to "no" and
RSAAuthentication to "yes". They'll need a public key in their home
folder to be able to authenticate. Be mindful of the file permissions in
the home folder, SSH is a little picky about that if I recall.

bryan

-- 

2 rules for success - 1) Never tell all that you know



Relevant Pages

  • Re: Accepting only known clients to connect using ssh
    ... >> clients, connecting using ssh, whos public keys I know of already. ... > the home folder, SSH is a little picky about that if I recall. ...
    (comp.os.linux.security)
  • RE: Commentary on the seven words
    ... When I was an operating systems programmer we all too often forgot that the Operating system existed to support the application, not the other way around. ... A Because the application that we run uses a telnet client that doesn't support ssh - and that's why I can't run ssh on this system. ... I administrate one system that has 128 clients on it and it's ...
    (RedHat)
  • OpenSSH 3.7.1p2 With NIS+ Password Authentication Problem
    ... > only windows SSH clients (I've tried SecureCRT and SSH.com's SSH ... > authentication, it works, but it asks me TWICE ... Your Windows clients are using password authentication. ... But if you run NIS+ at security level 2 the user ...
    (SunManagers)
  • RE: Commentary on the seven words
    ... I wrote in with a complaint that Linux will allow a process (like Tar, ... I administrate one system that has 128 clients ... Why can't I log on to Root from one of those ... want to without the 262 additional levels of complication that ssh ...
    (RedHat)
  • RE: Commentary on the seven words
    ... operating system and utility advice and assistance and there ... I wrote in with a complaint that Linux will allow a process ... I administrate one system that has 128 clients ... want to without the 262 additional levels of complication that ssh ...
    (RedHat)