Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Port #31

Open
m510 opened this issue Jan 25, 2024 · 1 comment
Open

Client Port #31

m510 opened this issue Jan 25, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@m510
Copy link

m510 commented Jan 25, 2024

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

@ewpa
Copy link
Owner

ewpa commented Jan 26, 2024

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 ewpa self-assigned this Jan 26, 2024
@ewpa ewpa added the question Further information is requested label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants