Re: SSH disconnect on illegal login attempt.

From: Richard E Silverman (res_at_qoxp.net)
Date: 06/20/03

  • Next message: Richard E Silverman: "Re: SFTP/SCP fails with login scripts"
    Date: 20 Jun 2003 00:58:32 -0400
    
    

    You will have to be more specific; this question is ambiguous and
    confusing. First, you have not said what versions of SSH you are using,
    and since the issues you're asking about are implementation-depending, we
    can't answer your question.

    >>>>> "Tom" == tom <tomwest@netwest.com> writes:

        Tom> I was just wondering how I could configure ssh to disconnect when
        Tom> a user that is not on my server tries to login with out a rsa
        Tom> key.

    It is not clear what you mean here; "user" is ambiguous. Do you mean when
    a login attempt comes from a machine other than "your server?" Or that
    the account to which a connection requests access via SSH-AUTH does not
    exist on the server? And you're really asking two different questions
    here anyway, since you also seem to want to restrict to using public-key
    authentication, so it's not clear which restriction you want to enforce,
    or both...

        Tom> Say I have 50 users and one not setup on my server tries to
        Tom> login. I want ssh to kill the login prompt for that particular
        Tom> session.

    The phrase "not setup on my server" is vague; what do you mean,
    precisely? In any case, if you try to log into a non-existent account,
    you will of course fail... what are you asking?

    -- 
      Richard Silverman
      res@qoxp.net
    

  • Next message: Richard E Silverman: "Re: SFTP/SCP fails with login scripts"

    Relevant Pages

    • Re: Hacker activity?
      ... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...
      (freebsd-questions)
    • Public Authentication Problem on Batch Job using SCP2 when SSH Client Reboot
      ... to a SSH server, HOST2. ... for secure ftp login. ... The login ID is a local user account ... we found that scp2 run failed every time the SSH client ...
      (comp.security.ssh)
    • Re: restrict ssh access
      ... > We have one ssh server which receives about 6000 failed attempts to ... > unsuccessful login attempts per client IP address? ... the remote server is also running OpenSSH. ...
      (comp.security.ssh)
    • Re: NX authentication error
      ... shipped key from server to client. ... when I login via nxclient, after pass steps Connected, download ... problem is with USER1 account. ... nxuser only creates an ssh tunnel. ...
      (Fedora)
    • Re: Hyperthreading security flaw was: Hyperthreading; was Re: New to Linux. Im not impressed :(
      ... In the case of a multi-user server where users ... login via SSH, a legitimate user could log in, provoke the SSH ... gain more out of the stolen hostkey. ...
      (comp.os.linux.misc)

  • Quantcast