public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Michael Erdely" <cygwin@cygwin.com>
To: <cygwin@cygwin.com>
Subject: RE: Using ssh with VNC Viewer
Date: Tue, 25 Sep 2001 06:40:00 -0000	[thread overview]
Message-ID: <003901c145c7$5d759540$1419a8c0@mercury> (raw)
In-Reply-To: <000c01c145c5$6bff93b0$5d754789@edinstonehaven>

Keith, 
  As Peter said, check out http://tech.erdelynet.com/sshvnc.asp (Hi,
Chris... I still haven't had time for much other than work and school).
  The thing's you have to look at are:
    - If edin_kampala is your ssh & vnc server, you'll have to
AllowLoopback on edin_kampala since VNC will "see" the connection coming
from the ssh server.
    - Is the VNC Server really listening on 5901?  If so, then that
should work.  Check out VNC's web pages (using the URL you posted) and
look for the documentation specific to the VNC Server you're running
(you didn't specify).  Also look at
http://www.uk.research.att.com/vnc/sshvnc.html .

Good luck,
-ME

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com ] On Behalf Of Keith Starsmeare
Sent: Tuesday, September 25, 2001 9:25 AM
To: cygwin@cygwin.com
Subject: Using ssh with VNC Viewer


I've recently started using AT&T's windows based VNC viewer
( http://www.uk.research.att.com/vnc ) and I'm trying to use it with
cygwin's
ssh.

I use this command to open the ssh to the remote machine and listen on
the
ports documented.

    ssh -v -C -L 5902:edin_kampala:5901 edin_kampala

then I open the vncviewer:

    vncviewer localhost:2

and I get the debug output (because of the -v on the ssh line)

    debug1: Connection to port 5902 forwarding to edin_kampala port 5901
requested.
    debug1: fd 8 setting O_NONBLOCK
    debug1: fd 8 IS O_NONBLOCK
    debug1: channel 2: new [direct-tcpip]
    debug1: channel 2: open confirm rwindow 32768 rmax 16384

so something's working. But I don't get the vncviewer's prompt for a
password.

Has anyone else tried this and got it working? I found one thread
recently,
but I couldn't follow it and I wasn't sure if they were using a windows
or
cygwin-xfree based vncviewer. I don't really need to use the ssh, but as
I'm
all ready connected to the machine using ssh, I thought why not use it
for
the vncviewer too!

Regards

Keith


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  parent reply	other threads:[~2001-09-25  6:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25  6:24 Keith Starsmeare
2001-09-25  6:30 ` Peter Buckley
2001-09-25  6:40 ` Michael Erdely [this message]
2001-09-25  7:39   ` Keith Starsmeare
2001-09-25  7:00 ` Mark Paulus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003901c145c7$5d759540$1419a8c0@mercury' \
    --to=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).