copyzshell icon indicating copy to clipboard operation
copyzshell copied to clipboard

can't specify an alternate SSH port?

Open Mr-Quinn opened this issue 6 years ago • 3 comments

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

Mr-Quinn avatar Oct 13 '18 16:10 Mr-Quinn

sorry, but you can't - no as it is now anyways. feel free to make a pull request if you want! I'll merge it straight away On Sat, 13 Oct 2018 at 17:37, Michael [email protected] wrote:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rutchkiwi/copyzshell/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfTMy8-XK0gqc7PcgroQqIuIvIKSC1Kks5ukhbAgaJpZM4Xatg8 .

rutchkiwi avatar Oct 13 '18 16:10 rutchkiwi

ok, thank you...

Mr-Quinn avatar Oct 13 '18 17:10 Mr-Quinn

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

trytriangles avatar Nov 30 '21 09:11 trytriangles