Help with SSH to LAN daemon

Specific support for Deluge on Microsoft Windows OS
Post Reply
cristofaro
New User
New User
Posts: 6
Joined: Wed Feb 17, 2010 7:19 am

Help with SSH to LAN daemon

Post by cristofaro »

Hi everyone. I'm trying to connect to my Ubuntu server running the deluge daemon via the Deluge GTK UI from a Windows box over my LAN. Following the thin client instructions (http://goo.gl/jNzQJ) I'm stuck on the step of creating an SSH tunnel to my Ubuntu box. I am able to enter the following command using PuTTY (ssh -fNL 127.0.0.2:58846:localhost:58846 <server>) but I suspect it is not working as I haven't added 127.0.0.2 to local loopback (I have no idea how to even do this on windows). Anyone know what I'm doing wrong? Perhaps there some other software I can get to make this eaiser?

I'm reposting this from my IRC query on this issue eariler. Thanks!
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Help with SSH to LAN daemon

Post by johnnyg »

What version of Windows?

A quick google seems to suggest that 127.0.0.2 is broken in Windows XP SP2 but it should work in Windows 7.
cristofaro
New User
New User
Posts: 6
Joined: Wed Feb 17, 2010 7:19 am

Re: Help with SSH to LAN daemon

Post by cristofaro »

I'm using Windows 7 x64.

I use the command "ssh -fNL 127.0.0.2:58846:localhost:58846 192.168.0.2" in PuTTY and login to the remote server. Then fire up local Deluge and add 127.0.0.2:58846 to the hosts. Connecting to this host is greyed out (as per attached screen_1.png). Perhaps it is something wrong with the method I am using to add the host to deluge and not the local loopback or SSH fowarding.
Attachments
screen_1
screen_1
screen_1.png (87.72 KiB) Viewed 8719 times
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with SSH to LAN daemon

Post by Cas »

I did a quick test on my Win7 machine and found you need to have 'Local ports accepts connections from other hosts' enabled.

These screenshots shows what you need to configure in putty:
putty1.png
putty1.png (41.71 KiB) Viewed 8707 times
putty2.png
putty2.png (40.31 KiB) Viewed 8707 times
cristofaro
New User
New User
Posts: 6
Joined: Wed Feb 17, 2010 7:19 am

Re: Help with SSH to LAN daemon

Post by cristofaro »

Thank you Cas. That seemed to at least foward the ports correctly. Unfortuantly however is seems I may have another problem.

The status indicator remains red even though the auth details match the details in ~/.config/deluge/auth. When I press the connect icon which is no longer greyed out the Deluge client just says "not connected". Interestingly I am also getting this problem replicated on the WebUI which can no longer connect but used to connect fine. Obviously I check to see if the deluged daemon was running on the server:

Code: Select all

ps -u deluge-server
  PID TTY          TIME CMD
 1034 ?        00:00:11 deluged
 1055 ?        00:00:02 deluge-web
Even more strangely the torrent autoadd folder which is Samba shared over the network still works fine! .torrent files I place there dissapear and start downloading to the incomplete torrents directory.

I'm pretty confused...
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with SSH to LAN daemon

Post by Cas »

It should go to green if the user/pass are correct. I'm not sure what the issue is but if you could try with a fresh config to see if you can replicate the issue.
cristofaro
New User
New User
Posts: 6
Joined: Wed Feb 17, 2010 7:19 am

Re: Help with SSH to LAN daemon

Post by cristofaro »

Alright. I'll give that a go when I next get a chance.
Post Reply