PDA

View Full Version : [ubuntu] SSH Forwarding help?



jigglywiggly
April 25th, 2009, 11:43 PM
So ok here is the thing that is happening. I have been successfully using a SSH server now for a while, and it works anywhere which is awesome. However, I got this app on my iphone called jaadu RDP to remote desktop my server. I can connect normally with the default RDP stuff, but there is an option for SSH. I enabled it, put my password in and then... could not create tunnel to 127.0.0.1

I asked them and they said have you allowed forwarding on my ssh server? So I went to webmin and enabled forwarding, but still no go and they have not replied. I wish they had a dynamic socks proxy, would work easier :D

Ok so here is my config for my server on webmin anyone have any ideas? Oh and I'm using OpenSSH


BTW this is the structure: Host OS Windows 2k3 runs virtualbox that runs a virtualmachine of the linux server.

Do I not post the client host options? I don't think I have to?


http://img16.imageshack.us/img16/6198/59974158.th.jpg (http://img16.imageshack.us/my.php?image=59974158.jpg)
http://img10.imageshack.us/img10/8884/82048532.th.jpg (http://img10.imageshack.us/my.php?image=82048532.jpg)
http://img11.imageshack.us/img11/6013/85141485.th.jpg (http://img11.imageshack.us/my.php?image=85141485.jpg)

HermanAB
April 25th, 2009, 11:58 PM
Hmm, here is a test from another Linux machine:


$ ssh -X -C -c blowfish user@server "gedit /etc/fstab"

If that works, then SSH server is configured correctly and your problem is on the client side on your phone.

jigglywiggly
April 26th, 2009, 12:31 AM
Hmm, here is a test from another Linux machine:


$ ssh -X -C -c blowfish user@server "gedit /etc/fstab"

If that works, then SSH server is configured correctly and your problem is on the client side on your phone.

Wait so I should just put that in the terminal of my ubuntu server? Exactly like that? I am confused D:

HermanAB
April 26th, 2009, 12:38 AM
Just type that line and see if it works.

jigglywiggly
April 26th, 2009, 02:35 AM
It just sits there doing nothing :?

HermanAB
April 26th, 2009, 03:24 AM
Then you still have something wrong with the server configuration in /etc/ssh/sshd_config.

jigglywiggly
April 26th, 2009, 03:35 AM
Just to mkae sure, is it safe to post my sshd_config?

jigglywiggly
April 26th, 2009, 03:46 AM
Err same thing, I uninstalled SSH I then removed the directory.

Same thing for jaadu rdp and this


ssh -X -C -c blowfish user@server "gedit /etc/fstab"

Port 22 is closed on my server, I use a different port could that be a problem? Let me open it and see... Nope same problem
I'm on jaunty if that matters.

HermanAB
April 26th, 2009, 04:25 AM
ssh -X -C -c blowfish user@server -p 2222 "gedit /etc/fstab"

jigglywiggly
April 26th, 2009, 07:02 AM
Still nothing :confused:

eentonig
April 26th, 2009, 07:14 AM
can you post the output from the following command on the server?


sudo more /etc/ssh/sshd_config

That's your sshd config file.


Also, is your server CLI based (server install) or GUI based (Desktop install)?

On the server, open a terminal and issue

ssh -v -v -v -X -C -c blowfish user@server "gedit /etc/fstab"

Same command as above, but with a lot of debugging info ;)

PS. user is your server's username and server is the localhost. you'r basically ssh-ing to the same box.