Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 11:42:28 -0500
From:      "Scott I. Remick" <scott@sremick.net>
To:        freebsd-questions@freebsd.org
Subject:   Upgraded 5.1 -> 5.2, now VNC over SSH fails w/ TCP_NODELAY
Message-ID:  <115pumjhydr2n.1o8ac6dits3ij$.dlg@40tude.net>

next in thread | raw e-mail | index | archive | help
Well crap, everything was going so well. I upgraded from 5.1 to 5.2 using
cvsup, recompiled (nearly) all my ports (some KDE stuff is still
complaining, but that shouldn't be relevant here). I have openssh installed
via ports:

su-2.05b# pkg_info | grep ssh
openssh-3.6.1_5     OpenBSD's secure shell client and server (remote login
prog

And my /etc/rc.conf contains:

sshd_enable="YES"
sshd_program="/usr/local/sbin/sshd"

Under 5.1, I'd SSH in (via PuTTY), then use port-forwarding to forward
localhost:7001 to remote:5901. I could then run VNC, connect to
localhost:7001, and tunnel my VNC session over SSH.

Since upgrading to 5.2 (nothing else has changed), while I can still SSH
in, attempting to tunnel VNC fails and I get the following error in my
PuTTY log:

2004-01-20 11:34:21	Opening forwarded connection to localhost:5901
2004-01-20 11:34:22	Forwarded connection refused by server

On the FreeBSD box, I see:

Jan 20 11:33:57 scott sshd[78580]: error: getsockopt TCP_NODELAY:
Connection reset by peer

This is using the same configs, profiles, etc. Nothing has changed except
the upgrade of the FreeBSD box from 5.1 to 5.2. Any thoughts?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?115pumjhydr2n.1o8ac6dits3ij$.dlg>