maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Using VNC Viewer Over an SSH Tunnel [Step-By-Step] (https://talk.maemo.org/showthread.php?t=30976)

Addison 2009-09-01 23:36

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Ah HA!

There's an update coming to the main post, involving a multi-windows-platform WORKING mirror driver for UltraVNC (I'm also going to work in everything we've learned here).
Sweet!

So you were able to get that Mirage Driver installed on your Vista machine?

JayOnThaBeat 2009-09-02 00:33

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Addison (Post 319830)
Sweet!

So you were able to get that Mirage Driver installed on your Vista machine?

Yes and no.

THAT mirage driver installed the display adapter in device manager, but doesn't actually do anything (again, vista 64 = poop).

(Plus I dont want to run TightVNC anyway, b/c of it not running correctly as a service on my machine.)

-==-==-=-=-=

However, I found a mirror/hooks/whatever driver for UltraVNC. Honestly tho, after using it, I don't see a speed difference. I get just the slightest lag (maybe 1 - 1.5 seconds) without it, and I don't see the improvement with it.

In any case, the setup I have works nicely for me. My need for it equals that of having a secure remote control. I think playing games over it would just be a new way for me to kill my battery faster.

I guess with my system config, I should be gearing this more towards the general population, which is why I'm gonna try workin the stuff you've found into the guide. I'm just having a slow time of it because I quit smoking yesterday and have been finding random, ever-changing ways to distract myself (the gum sure helps).

It will get done... at some point, probably soon.

Addison 2009-09-02 03:34

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

I get just the slightest lag (maybe 1 - 1.5 seconds) without it, and I don't see the improvement with it.
Well shoot!

I just naturally assumed that if you were able to install that driver correctly that you would get similar results that I was seeing on my end with this.

And I'm like you as well, I have really no interest in playing any games from my desktop.

But you know how it is, you find something new and suddenly you feel this need to give it a few stress tests to see how far you can push the concept.

Apparently, with this added driver installed on my Windows machine, it can pretty much handle anything I throw at it now.

Sorry, that you didn't get the same experience.

JayOnThaBeat 2009-09-02 05:05

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Addison (Post 319903)

Sorry, that you didn't get the same experience.

I don't get it.

By lag, I mean the time between it happening on my pc and when it happens over vnc viewer. It's not sluggish or anything.

I also have killer upstream speed, so maybe thats why.

From what your saying, you're assuming mine doesn't work as well as yours.... does yours show things on the vnc viewer that you haven't done on the pc yet?

Cuz, THEN I'd be jealous...

:confused:

Addison 2009-09-02 05:14

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
I really wish I could show you before and after pictures in regards to that add on, driver update.

Even better, offering you a video demonstration.

Subjectively, I would say that I'm getting twice the speed.

If you think about it, having double the performance is huge!

Overall though, I would say the experience of logging into my computer after that driver update on my tablet is now about 20 times better.

It's a shame you didn't get similar results.

JayOnThaBeat 2009-09-02 05:17

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
So how slow was it before?

I have satisfactory / "as-good-as-i-would-expect" speed right out of the gate.

Addison 2009-09-02 05:27

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
I'll try to keep this simple.

If you can play Solitaire (not sure if Vista has this as a default game) in real time, like you're actually playing it on your original computer, without any graphic weirdness, then you're getting the same results I'm seeing on my end.

JayOnThaBeat 2009-09-02 05:35

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Addison (Post 319952)
I'll try to keep this simple.

If you can play Solitaire (not sure if Vista has this as a default game) in real time, like you're actually playing it on your original computer, without any graphic weirdness, then you're getting the same results I'm seeing on my end.

Actually, Solitaire has been my first test for all the VNC stuff I've been doing. It plays fine.... like, sitting at a real computer, and everything...

Now I wish I could get a 32-bit Windows to install on my PC. I wonder what 20x better than good is......

|||EDIT

OooooOh, I just tried Skitchin' on my Gens emulator over VNC... awesomeness... unfortunately, I can't seem to get it working with anything but my pc gamepad (attached to my pc, sadly), so I had to use that. Still looked pretty sweet tho.

Again, not really wanting to kill battery like that. Just wanted to see if it would work.

Addison 2009-09-02 15:55

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

I wonder what 20x better than good is......
Not sure why I'm seeing such a huge swing in performance.

Maybe it's because my Windows machine has a standard Intel display chip with no additional drivers or graphic cards installed.

Who knows.

Anyway, I've got a couple of questions for ya.

I'm having some slight difficulty double clicking folders and files on the tablet. Is there an option I can change on my home computer to make this any easier?

In VNC Viewer, where can I delete the history IP addresses? I have a ton of them back when I didn't know what I was doing. :D

Lastly, is there any possible way to have VNC Viewer display a specific part of the screen upon start up? For example, like the extreme bottom left.

Thanks ahead!

JayOnThaBeat 2009-09-02 20:35

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Addison (Post 320261)
Not sure why I'm seeing such a huge swing in performance.

Maybe it's because my Windows machine has a standard Intel display chip with no additional drivers or graphic cards installed.

Who knows.

Well, I'm not exactly sure about how it would come into play, but I do have an nvidia card with 512mb ram onboard and all the latest drivers and whatnot...

As far as the clicking goes, you could probably change the double-click speed setting in windows control panel > mouse (or whatever).

What I do, is just get the icon I want highlighted, and hit enter on the n810 kb.

As far as the other questions, you should refer to the documentation of whichever VNC software you are using.

Addison 2009-09-05 23:14

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Hey qole!

Quote:

You have to ssh in to your server and find the directory you want. On my Windows machine running cygwin and openssh (this sounds like what copssh is, too), there's a directory called /cygdrive that has all of the server's drives under it. So if you want the Windows machine's C: drive, your directory would be /cygdrive/c/ ... So, if you want to map your C: drive, your first part looks like:
So I need to install a Windows version of Cygwin and OpenSSH on my home computer to access files on the hard drive? Am I reading this correctly?

JayOnThaBeat 2009-09-05 23:16

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Addison (Post 322282)
Hey qole!



So I need to install a Windows version of Cygwin and OpenSSH on my home computer to access files on the hard drive? Am I reading this correctly?


CopSSH sets up cygwin + openssh.

Addison 2009-09-05 23:18

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Okay!

Cool!

I already have that on my Desktop but haven't fired up the installation for it yet.

I was wondering why that was there. :)

Addison 2009-09-05 23:28

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Hey, someone who thought that they were "cooler" than you changed up your instructions.

I just followed what I was being told to do. :)

And yeah, I'm not using SSH to gain access to my computer.

I figure that there's nothing of interest on my hard drive anyway so no real reason for it to be encrypted or secured.

JayOnThaBeat 2009-09-05 23:33

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Addison (Post 322294)
Hey, someone who thought that they were "cooler" than you changed up your instructions.

I just followed what I was being told to do. :)

And yeah, I'm not using SSH to gain access to my computer.

I figure that there's nothing of interest on my hard drive anyway so no real reason for it to be encrypted or secured.

SSH is where it's at.

CopSSH was actually the easiest part of the whole setup. Super straight-forward installer which does pretty much everything except activating the windoze acct you want to use.

|||EDIT

Well like I said, when I first got it all setup, I received a random incoming connection to my VNC server ... that was semi-scary.

JayOnThaBeat 2009-09-11 04:25

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
OK, I just totally revamped the guide (post #1).

It actually got bigger... 15,000 characters exactly!

I *think* I worked in everything I've learned about the subject.

Addison 2009-09-13 22:48

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Thanks for the update!

If it weren't for this thread, I never would have had the guts to install all of this junk. :)

Hey, got any good suggestions on a poker site that I could use this with?

There's so many out there...

allnameswereout 2009-09-20 07:13

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Instead of CopSSH you can install Cygwin. This yields you additional utilities, allowing you to configure your Windows machine more UNIX-like :D

With a full Cygwin environment you can be sure you can update to the latest OpenSSH version. My experience with 3rd party OpenSSH servers is that they are not kept up to date, or are abandoned. Also, you won't get conflicts with different cygwin.dll.

You can also use RDP (over SSH) instead of VNC. RDP is pretty efficient. I use NX (over SSH) and can use RDP/VNC from there (VNC for Mac).

VNC was made for on LANs. Not Internet. RDP and NX also have other advantages such as Sound, Printer, File Sharing support. And RDP server runs even when you are not logged in (as service).

SSHFS is neat, but I don't remember if it supports locking, nor do I remember about its efficiency. If your connection gets b0rked your shell will hang.

If you have the bandwidth, which by the sounds of it you do, simply set up a VPN (using e.g. OpenVPN) and call it a night. Everything will work as if you are on LAN. Downside is that there isn't an OpenVPN client for Symbian so I had to set up IPsec as well. [...]

You could use SSH, wget the torrent, and have e.g. rTorrent (or uTorrent, Vuze) watch ~/Desktop then there is no GUI required. Requires less bandwidth.

qole 2009-09-20 07:19

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
allnameswereout:

Could you link to the NX or RDP clients for the tablets? That would be very helpful.

Another very helpful thing to do would be to start a new thread detailing how, step-by-step, someone could set up a VPN (with Windows) and then connect to it with their tablet.

Seriously. Be helpful.

allnameswereout 2009-09-20 10:45

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Well, VPN set up is quite a generic term.

OpenVPN should work on Windows Vista or Windows 7 http://snowulf.com/archives/622-Open...indows-7!.html

OpenVPN and Vista might have a problem with UAC as described here http://forums.untangle.com/openvpn/5...ate-works.html

NX client (Qtnx) howto https://wiki.evolvis.org/nx-mobile/index.php/Main_Page

Pyrdesktop howto http://talk.maemo.org/showthread.php?t=22716

Quick overview of differences between technologies http://talk.maemo.org/showthread.php...ghlight=freenx

I know CopSSH is Cygwin based. As soon as you start using more 3rd party Cygwin applications you'll run in DLL hell. I know CopSSH is OpenSSH 5.2p, but my experience with previous OpenSSH ports for Windows is that they are abandoned. By using Cygwin you easily are able to keep your Cygwin software centralized and up to date, while allowing other UNIX utilities to be installed. Using wget to grab a torrent while logged in with Terminal is just one example.

I don't have a tablet right now, and I wouldn't use VPN on Windows, but the howto I used to set up OpenVPN was https://help.ubuntu.com/community/OpenVPN

Also, RDP and NX clients do the resizing auto.

jmc8501 2009-09-30 17:16

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
I've been reading this thread and trying to follow the instructions carefully, but I can't seem to get past step one. When I try to ssh into my computer, I get the response:

/etc/ssh.ssh_config line 50: Unsupported option "GSSAPIAuthentication"
/etc/ssh.ssh_config line 51: Unsupported option "GSSAPIDelegateCredentials"
ssh: connect to host 192.168.2.20 port 2222: No route to host

I have checked with the PFPortChecker that the ports are open(5800 & 5900), and that I edited the CopSSH ssh_config and sshd_config files were edited, uncommenting the port line to "port 2222" to no avail.

Any help will be greatly appreciated!

allnameswereout 2009-09-30 20:54

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by jmc8501 (Post 336859)
I've been reading this thread and trying to follow the instructions carefully, but I can't seem to get past step one. When I try to ssh into my computer, I get the response:

/etc/ssh.ssh_config line 50: Unsupported option "GSSAPIAuthentication"
/etc/ssh.ssh_config line 51: Unsupported option "GSSAPIDelegateCredentials"
ssh: connect to host 192.168.2.20 port 2222: No route to host

I have checked with the PFPortChecker that the ports are open(5800 & 5900), and that I edited the CopSSH ssh_config and sshd_config files were edited, uncommenting the port line to "port 2222" to no avail.

Any help will be greatly appreciated!

This means there is no route to 192.168.2.20/32, which is a private IP address.

You might have configured your WiFi as DMZ, not allowing traffic to/from WiFi to LAN.

Also, when you are out and about you will want to SSH to your _external_ IP address.

jmc8501 2009-09-30 22:03

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Thanks for the quick response guys!

I did first go through all the other steps before trying this, and I have also rebooted my system since then a few times.

And I've just checked the DMZ settings on the routers settings page, and I followed these instructions (I'm doing this from home, using the same wifi as my laptop):

Quote:

DMZ
The DMZ feature allows you to specify one computer on your network to be placed outside of the NAT firewall. This may be necessary if the NAT feature is causing problems with an application such as a game or video conferencing application. Use this feature on a temporary basis. The computer in the DMZ is not protected from hacker attacks. To put a computer in the DMZ, enter the last digits of its IP address in the field below and select "Enable". Click "Submit" for the change to take effect.
So I did, but got the same response. Also, I have the built-in router firewall turned off, so I'm not sure this would be the problem.

Thinking about the last line on allnameswereout's post, I tried to ssh with my external ip address (even though both laptop and n810 are using the same wifi router), and this time it did request my password, but then immediately logged me out.

here is the command I used:
Quote:

ssh -L5901:127.0.0.1:5900 155.174.211.137 -lMauricio -p 2222 -v
and here is the output:
Quote:

OpenSSH_5.1p1 Debian-6.maemo2, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
/etc/ssh/ssh_config line 50: Unsupported option "GSSAPIAuthenticati on"
/etc/ssh/ssh_config line 51: Unsupported option "GSSAPIDelegateCred entials"
debug1: Connecting to 155.174.211.137 [155.174.211.137 ] port 2222.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenS SH_5.2
debug1: match: OpenSSH_5.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-6.maemo2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '[155.174.211.137 ]:2222' is known and matches the RSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keybo ard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user/.ssh/identity
debug1: Trying private key: /home/user/.ssh/id_rsa
debug1: Trying private key: /home/user/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keybo ard-interactive
debug1: Next authentication method: password
Mauricio@155.174.211.137's password:
debug1: Authentication succeeded (password).
debug1: Local connections to LOCALHOST:5901 forwarded to remote add ress 127.0.0.1:5900
debug1: Local forwarding listening on 127.0.0.1 port 5901.
debug1: channel 0: new [port listener]
socket: Address family not supported by protocol
debug1: channel 1: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US
debug1: Sending env LC_MESSAGES = en_US
Last login: Wed Sep 30 17:42:35 2009 from 155.174.211.137
debug1: client_input_channel_req: channel 1 rtype exit-status reply 0
debug1: client_input_channel_req: channel 1 rtype eow@openssh.com r eply 0
debug1: channel 1: free: client-session, nchannels 2
debug1: channel 0: free: port listener, nchannels 1
Connection to 155.174.211.137 closed.
Transferred: sent 1824, received 2136 bytes, in 0.4 seconds
Bytes per second: sent 4450.4, received 5211.6
debug1: Exit status 1
Thanks for the ideas, but I'm still hoping for more!

allnameswereout 2009-09-30 22:14

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
jmc8501, I meant that you probably had DMZ on. Can you check your N810 IP address and your Windows computer IP address are in the same subnet? Probably, your WiFi gets 192.168.2.0/24 and your LAN gets 192.168.1.0/24.

In the second command you pasted, you were able to connect to connect from WAN to your SSH server on external_ip:2222. The fact you are immediately logged out might indicate your login shell is b0rked. Check your SSHd logs.

jmc8501 2009-10-02 02:30

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
My computer's ip is 192.168.2.20, and my tablets is 192.168.2.2 - does that mean they are on the same subnet? (I'm a complete beginner...)

I tried checking the log files on my computer for CopSSH, but they seemed empty (specifically the "sshd-stderr.log" and "sshd-stdout.log" files) - what do you mean by "your login shell is b0rked."?

allnameswereout 2009-10-02 02:59

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
As for your first question: If we assume your netmask is 255.255.255.0, yes. Some routers have option to still not allow traffic between WLAN and LAN.

As for your second question, short story: try adding -N flag to your SSH command and see what happens.

And the long story: What I meant with that b0rked statement is that, in that case you posted ssh client log, routing and portforwarding works, you are able to send and receive TCP packets to OpenSSH server port 2222. The SSH protocols match, the authentication succeeds... so you get far further than when it is stuck on no route to host.

..but then it immediately logs out. If it executed your port forwarding it'd stay connected until you quit it (or networking problem), and to kill the tunnel you'd use ^C (Ctrl+C). Instead, you get debug1: Exit status 1 (different than 0; 0 means no error), in this case usually problem is 1) login shell doesn't exist 2) or is set to /bin/false (or something similar). Check the OpenSSH's /etc/passwd and see if it is correct set. The -N flag will not execute the remote command and is recommended in situations like these.

@ Jay that reminds me, if you don't want to use OpenSSH to remotely log in to your computer to get a shell but do wish to use only port forwarding (ie. only want to use OpenSSH to run VNC server) you can harden OpenSSH server further. Worth it to discuss or not...?

allnameswereout 2009-10-02 03:19

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by JayOnThaBeat (Post 338007)
Uhhhhh..... :confused:
I'm not really sure what you mean.

My reference was OpenSSH server on Windows. Not Nokia N8x0/N900.

If user only wants to run OpenSSH server on Windows computer to port forward VNC over, other features like allowing a remote shell are unnecessary. So you can instead of /bin/bash give a shell like /bin/true and use -N flag in ssh command. This way, someone who sees you typing your password cannot remotely log in to your Windows computer over SSH.

SSH keys might also be interesting.

Not sure if SSHFS requires a shell though.

jmc8501 2009-10-29 04:45

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by allnameswereout (Post 338003)
As for your first question: If we assume your netmask is 255.255.255.0, yes. Some routers have option to still not allow traffic between WLAN and LAN.

As for your second question, short story: try adding -N flag to your SSH command and see what happens.

And the long story: What I meant with that b0rked statement is that, in that case you posted ssh client log, routing and portforwarding works, you are able to send and receive TCP packets to OpenSSH server port 2222. The SSH protocols match, the authentication succeeds... so you get far further than when it is stuck on no route to host.

..but then it immediately logs out. If it executed your port forwarding it'd stay connected until you quit it (or networking problem), and to kill the tunnel you'd use ^C (Ctrl+C). Instead, you get debug1: Exit status 1 (different than 0; 0 means no error), in this case usually problem is 1) login shell doesn't exist 2) or is set to /bin/false (or something similar). Check the OpenSSH's /etc/passwd and see if it is correct set. The -N flag will not execute the remote command and is recommended in situations like these.

@ Jay that reminds me, if you don't want to use OpenSSH to remotely log in to your computer to get a shell but do wish to use only port forwarding (ie. only want to use OpenSSH to run VNC server) you can harden OpenSSH server further. Worth it to discuss or not...?

@allnameswereout
I have found the "passwd" file on my laptop, but how do I set it correctly, "/bin/true" ?

And there is no "openssh" folder or "passwd" folder in the /etc on my N810 (although it does have an "openvpn" folder, a program which I've been trying to delete for some time..http://talk.maemo.org/showthread.php...063#post340063 )

I tried adding the "-N" at the end of the command, but I've gotten a different response this time - it says "connecting to host..." and the "connection timed out" Now, even if I remove the -N command, I get the same response.

As a side note, I tried using the bash shell on my laptop that comes with Copssh, and tried to ssh to a work computer, but it told me:

$ ssh mauricio@[known ip-address]
ssh: connect to host [known ip-address] port 2222: Connection timed out

This "[known ip-address]" is one that I connect to regularly using PuTTY (which I also have installed on my laptop) and it gives me no problems. I'm not sure if this is relevant, of course.

Thanks!

PS: I found a "last log" text file and a "wtmp" text file. The former was mostly blank, except for a few *random* characters and my IP address, and the second had many more random characters along with my username and my IP addresss floating around.

qole 2009-10-29 17:43

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by jmc8501 (Post 360428)
As a side note, I tried using the bash shell on my laptop that comes with Copssh, and tried to ssh to a work computer, but it told me:

$ ssh mauricio@[known ip-address]
ssh: connect to host [known ip-address] port 2222: Connection timed out

This "[known ip-address]" is one that I connect to regularly using PuTTY (which I also have installed on my laptop) and it gives me no problems. I'm not sure if this is relevant, of course.

Try:

ssh mauricio@[known ip-address] -p 22

That will set the SSH port to the standard 22 rather than the non-standard 2222. That's probably what's going wrong there.

jmc8501 2009-10-30 18:31

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Thanks qole, that does allow me to ssh our from my laptop successfully! Could this be related to my inability to ssh into my laptop from my N180?

allnameswereout 2009-10-30 18:42

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by jmc8501 (Post 361852)
Thanks qole, that does allow me to ssh our from my laptop successfully! Could this be related to my inability to ssh into my laptop from my N180?

N810.

For some reason your ssh client picks default port 2222 this is defined in either ~/.ssh/config or /etc/ssh/ssh_config

Cue 2011-04-23 05:37

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
I'm not sure I understand tunnelling very well but do I NEED to forward port 5900? The reason I ask is that I want to VNC to a machine where I'm not the admin of the firewall it's behind.

This firewall only lets me connect to the machine through one port, say port 1234, I can ssh to this machine through this port but how can I also use VNC? Is it possible?

Rob1n 2011-04-26 09:44

Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
 
Quote:

Originally Posted by Cue (Post 993991)
I'm not sure I understand tunnelling very well but do I NEED to forward port 5900? The reason I ask is that I want to VNC to a machine where I'm not the admin of the firewall it's behind.

This firewall only lets me connect to the machine through one port, say port 1234, I can ssh to this machine through this port but how can I also use VNC? Is it possible?

If you're using it over an ssh tunnel, then there's no need to forward port 5900 on the firewall. The instructions on the first page of this thread (ignoring the part about forwarding port 5900), or the ones I gave in this thread, should provide all the details you need to set up the tunnelling.


All times are GMT. The time now is 14:54.

vBulletin® Version 3.8.8