It used to be the case that I could run:
ssh -v -q -g -R 3353:localhost:22 -n -o BatchMode=yes \
-o StrictHostKeyChecking=no <<my-home-machine>>
and from my home machine, I could simply:
ssh -X -p 3353 bkorb@localhost
and presto, I'm logged into my machine at work.
It worked until I upgraded my SuSE Linux 10.3 to 11.0.
I get the remote connection just fine:
$ ps -w -f -u <funny-user-name>
UID PID PPID C STIME TTY TIME CMD
1000 24894 24885 0 18:50 pts/1 00:00:00 sshd: remote-bk@notty
1000 24895 24894 97 18:50 ? 00:08:00 hold-open
(where "hold-open" is a special non-shell shell for "funny-user-name")
but trying to get back to the office is not working:
$ ssh -vvv -X -p <port> localhost
OpenSSH_5.0p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /home/bkorb/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 3353.
debug1: connect to address 127.0.0.1 port 3353: Connection refused
debug1: Connecting to localhost [::1] port 3353.
debug1: connect to address ::1 port 3353: Connection refused
ssh: connect to host localhost port 3353: Connection refused
I have sshd running in debug mode, but it has no output while I do this.
Oh, and in /etc/ssh/sshd_config:
# egrep -v $'^[ \t]*($|#)' /etc/ssh/sshd_config
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
PermitRootLogin no
PasswordAuthentication no
ChallengeResponseAuthentication yes
AllowTcpForwarding yes
X11Forwarding yes
PermitTunnel yes
Subsystem sftp /usr/lib64/ssh/sftp-server
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
I've been at this all afternoon. And evening now.
Any help would be most sincerely appreciated!!
Regards, Bruce