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

can't specify an alternate SSH port? #5

Open
Mr-Quinn opened this issue Oct 13, 2018 · 3 comments
Open

can't specify an alternate SSH port? #5

Mr-Quinn opened this issue Oct 13, 2018 · 3 comments

Comments

@Mr-Quinn
Copy link

I use an alternate port for SSH on my servers...how to change from port 22 default?

@rutchkiwi
Copy link
Owner

rutchkiwi commented Oct 13, 2018 via email

@Mr-Quinn
Copy link
Author

ok, thank you...

@trytriangles
Copy link

trytriangles commented Nov 30, 2021

You can add a host to ~/.ssh/config with any port you like, and then give that named host to xxh.

Host breadstick
        Hostname ssh.example.com
        Port 4815

xxh breadstick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants