Mortgage - Loan Secured - Flights - Online Advertising - Mortgage Calculator

PDA

View Full Version : SSH Events


Zac
Nov 18th 2004, 7:32 pm
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).

digitalpoint
Nov 18th 2004, 8:56 pm
It looks like plink does support it, have you tried specifying the IP address with a port... like 1.2.3.4:port ?

Zac
Nov 18th 2004, 9:39 pm
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.