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