SSH Events

Discussion in 'Optigold ISP' started by Zac, Nov 18, 2004.

  1. #1
    Is it possible to add a "port" field for the SSH commands, to use non standard SSH ports? (For security reasons we don't run SSH on port 22).
     
    Zac, Nov 18, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    It looks like plink does support it, have you tried specifying the IP address with a port... like 1.2.3.4:port ?
     
    digitalpoint, Nov 18, 2004 IP
  3. Zac

    Zac Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nope, tried that :) The port command for PLINK is -P port, i don't think it supports user@serv:port format.

    For example, this is the command I use to lock an account on our master server using command line function instead of SSH:

    plink -2 -P 2222 -C -pw <password> <server> passwd --lock <Login>

    Using the command line is perfectly functional, I just thought it'd be handy to be able to use the in-built SSH action, and not have the password displayed in plain text.
     
    Zac, Nov 18, 2004 IP