Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    chica go go

    Smile How can I make sshd lie about it's accepted authentication methods?

    With my sshd installation, I have password authentication disabled, and only accept key-based auth. What I want to do is, make sshd lie about it's accepted authentication methods, or even make up a few to confuse anyone who's trying to connect. For example,

    [[email protected] ~]# ssh
    Permission denied (publickey).

    I'd like to make it show something like,

    [[email protected] ~]# ssh
    Permission denied (publickey,lol,idiot).

    Anybody have any idea as to how this can be accomplished?

  2. #2
    Join Date
    Mar 2008
    Download source, edit it, compile again and reboot sshd.
    Can't be that hard.

  3. #3
    Yep, if you want silly features, you're gonna have to work for it.

    Of course, you could always do a binary patch.
    managed dns global failover and load balance (gslb)
    uptime report for

  4. #4
    Join Date
    Feb 2003
    North Hollywood, CA
    haha yea that can only be changed via the source, happy trails allot of grepings i see in your future.
    Remote Hands and Your Local Tech for the Los Angeles area.

    (310) 573-8050 - LinkedIn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts