[NFBCS] Terminal Emulation Program
Doug Lee
dgl at dlee.org
Wed Dec 27 01:04:31 UTC 2023
The other solution is to make a config file for ssh that includes the server you're connecting to with its
port number. On Windows, that'll be .ssh/config under your Windows home folder; example,
C:\Users\Doug\.ssh\config
Example config entry:
# The host is what you type; e.g., ssh mine
host mine
# Indent the rest of these lines.
hostname blah.domain.blah
port 845
user lsl
On Tue, Dec 26, 2023 at 06:56:51PM -0600, NFBCS mailing list wrote:
Normally, -p will do that. Ie,
ssh -p 845 <hostname>
Not sure off-hand if Windows ssh is different.
On Tue, 26 Dec 2023, Leslie Fairall via NFBCS wrote:
> Hi Doug:
>
> Just tried using native SSH from the command prompt. Do you know how to
> change the port number? The default is 22 but it should be 845 for one of
> my servers.
>
>
> --
> Leslie Fairall
> mailto:fairall at shellworld.net
--
Doug Lee dgl at dlee.org http://www.dlee.org
"It is not the mountain in the distance which makes you want to stop
walking; but the grain of sand in your shoe." --Anon
More information about the NFBCS
mailing list