Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    Location
    chica go go
    Posts
    11,858

    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 hah.cx
    Permission denied (publickey).

    I'd like to make it show something like,

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


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

  2. #2
    Join Date
    Mar 2008
    Location
    Finland
    Posts
    48
    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.
    edgedirector.com
    managed dns global failover and load balance (gslb)
    exactstate.com
    uptime report for webhostingtalk.com

  4. #4
    Join Date
    Feb 2003
    Location
    North Hollywood, CA
    Posts
    2,554
    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
  •