![]() |
2010-02-01
, 18:41
|
Posts: 145 |
Thanked: 304 times |
Joined on Jan 2010
@ Milton Keynes, UK
|
#21
|
![]() |
2010-02-01
, 19:13
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#22
|
![]() |
2010-02-02
, 07:39
|
Posts: 254 |
Thanked: 17 times |
Joined on Dec 2009
|
#23
|
Okay, here's the instructions for setting up SSH tunnelling - let me know if anything's unclear.
SSH configuration for VNC
Data used (substitute your own values for these where used):Dynamic DNS name for PC: pc.dyndns.orgOn the router:
SSH user login: fred
SSH port: 522Ensure port 522 is allowed, and is forwarded to the PC.On the N900:From X Terminal, run "ssh-keygen -b 2048 -t rsa" to generate a public/private key pair. Choose a pass phrase - this will be required every time you connect (you can leave it blank, but I'd advise against this).On the PC:Download and install freeSSHd (http://www.freesshd.com/), setting it to run as a system service.On the N900:
Double-click on the icon in the system tray.
Edit the settings:Telnet: Disable starting server at startup.Click OK to close the freeSSHd settings window.
SSH: Enable starting server at startup. Change the port to 522 to reduce random attacks (any other non-standard port will do).
Authentication: Set password authentication to disabled and public key authentication to required.
Tunneling: Allow local port forwarding, only to localhost. Disable remote port forwarding.
Users: Add a new user fred (any name will do), set authorization to Public key, and enable Shell and Tunneling.
Copy and rename the public key from the N900 (/home/user/.ssh/id_rsa.pub) to C:\Program Files\freeSSHd\fred on the PC (the same name as you used for the user you created earlier, with no file extension).Create a configuration file /home/user/.ssh/config (to simplify the connection strings):The tunnel should now be configured. You can start the tunnel from X Terminal by running "ssh pc.dyndns.org". You should be prompted for the pass phrase, then presented with the C:\ prompt. You can now run the VNC client, connecting to "127.0.0.1:0". To shut down the tunnel, simply type "exit" at the C:\ prompt.Host pc.dyndns.org
IdentitiesOnly yes
PasswordAuthentication no
User fred
Port 522
LocalForward localhost:5900 127.0.0.1:5900
![]() |
2010-02-02
, 09:24
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#24
|
![]() |
2010-02-02
, 10:09
|
Posts: 145 |
Thanked: 304 times |
Joined on Jan 2010
@ Milton Keynes, UK
|
#25
|
Can you try (on the desktop) running (at a command prompt) "telnet 127.0.0.1 5900" to check that you can actually connect to the VNC server. You should get a "RFB 003.008" (or something like that.
![]() |
2010-02-02
, 10:36
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#26
|
I'm guessing this is gonna be some kind of bug or glitch, I've tried all the workarounds I found on google, (which basically consisted of rm the known_hosts file.) I just had a quick look and it may be afault with my router... the netgear DG834G seems to have problems with ssh, and streaming videos...time for a different brand router I think.
![]() |
2010-02-02
, 10:53
|
Posts: 145 |
Thanked: 304 times |
Joined on Jan 2010
@ Milton Keynes, UK
|
#27
|
![]() |
2010-02-02
, 11:03
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#28
|
I cannot access the local network with my N900 as it is a purely wired network. no Wifi is allowed. Only entry point is the network firewall attached to a leased-line, and to access that i'm going out through a seperate ADSL connection though the netgear router.
I have tried upgrading, downgrading and even installing custom firmware for my ADSL router but no luck still.
![]() |
2010-02-02
, 11:39
|
Posts: 254 |
Thanked: 17 times |
Joined on Dec 2009
|
#29
|
Okay, here's the instructions for setting up SSH tunnelling - let me know if anything's unclear.
SSH configuration for VNC
Applications required on N900:vncviewerData used (substitute your own values for these where used):
OpenSSH ClientDynamic DNS name for PC: pc.dyndns.org
SSH user login: fred
SSH port: 522
![]() |
2010-02-02
, 11:44
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#30
|
whre are these settings to be set....i dnt see any applocation in my menu even after installing openssh client on my phone??