This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Simple SSH Server

No password required! It’s that simple….

    Purpose

    Quickly get SSH listening on a target machine.

    Configuration

    None.

    Additional Information

    Current port is 2222. No auth :(.

    Roadmap

    • Add configure option for bind port
    • Add configure option for allowed CIDRs
    • Add configuration option for some for of authentication

    Testing

    Debug mode

    go build -ldflags="-X main.listener=:8080 -X main.logLevel=DEBUG -X main.allowedCIDR=127.0.0.1/32" simple-ssh.go