if ssh port is not port 22
Ted Creedon
tcreedon at easystreet.net
Fri Apr 10 05:02:18 EST 2009
If Port is set to 422 in /etc/ssh/ssh_config, ssh client still tries to use
port 22. ssh -p 422 localhost does work however becasue Port is set to 422
in sshd_config
geronimo:/data/openssh-5.2p1 # ssh -vvv localhost
OpenSSH_5.2p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /etc//ssh_config
debug3: RNG is ready, skipping seeding
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
debug1: Connecting to localhost [::1] port 22.
debug1: connect to address ::1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
geronimo:/data/openssh-5.2p1 #
More information about the openssh-unix-dev
mailing list