LibSSH-ESP32 icon indicating copy to clipboard operation
LibSSH-ESP32 copied to clipboard

Client Port

Open m510 opened this issue 2 years ago • 1 comments

Is it possible to chnge the standard client port (22) to another port like 2222 or 24

m510 avatar Jan 25 '24 17:01 m510

Yes you can change it, use something this this code.

uint16_t port;
port = 2222;
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_BINDPORT, &port);

ewpa avatar Jan 26 '24 16:01 ewpa