Re: OT: X-application over ssh tunnel

2012-03-12 Thread Tom Horsley
A completely separate thing to worry about: If this is a long distance high latency connection, you'll get a much more responsive X session if you use nx (which can be run through an ssh tunnel, but is yet another layer of confusing configuration to setup and get operating :-). -- users mailing li

Re: OT: X-application over ssh tunnel

2012-03-12 Thread suvayu ali
On Mon, Mar 12, 2012 at 15:30, Hiisi wrote: > I don't understand how to do this. I've created .ssh/config as you > guided me. Now I have the following error: > nc: getaddrinfo: hostname nor servname provided, or not known > ssh_exchange_identification: Connection closed by remote host > Isn't it b

Re: OT: X-application over ssh tunnel

2012-03-12 Thread Hiisi
On 12 March 2012 15:11, suvayu ali wrote: > On Mon, Mar 12, 2012 at 11:31, suvayu ali wrote: >> Anyway, now to your question. I think you should use the ProxyCommand >> option for ssh. If A, B and C are fixed. You can put the folowing in >> your ~/.ssh/config. >> >> # using B as proxy to C >> Hos

Re: OT: X-application over ssh tunnel

2012-03-12 Thread suvayu ali
On Mon, Mar 12, 2012 at 14:29, Hiisi wrote: > > I don't have .ssh/config. Should I just create it? Yes. -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mail

Re: OT: X-application over ssh tunnel

2012-03-12 Thread Hiisi
On 12 March 2012 14:31, suvayu ali wrote: > On Mon, Mar 12, 2012 at 11:04, Hiisi wrote: >> Network setup: >> A -> B -> C >> Host A can connect to host B but not to host C directly. So, I do the >> following. First, from host C I connect to B: >> ssh -R 10002;localhost:22 user@B > > Shouldn't that

Re: OT: X-application over ssh tunnel

2012-03-12 Thread suvayu ali
On Mon, Mar 12, 2012 at 11:31, suvayu ali wrote: > Anyway, now to your question. I think you should use the ProxyCommand > option for ssh. If A, B and C are fixed. You can put the folowing in > your ~/.ssh/config. > > # using B as proxy to C > Host    C >        User            useronC >        Pr

Re: OT: X-application over ssh tunnel

2012-03-12 Thread suvayu ali
On Mon, Mar 12, 2012 at 11:04, Hiisi wrote: > Network setup: > A -> B -> C > Host A can connect to host B but not to host C directly. So, I do the > following. First, from host C I connect to B: > ssh -R 10002;localhost:22 user@B Shouldn't that ";" be a ":"? > When I need to connect to C from A

OT: X-application over ssh tunnel

2012-03-12 Thread Hiisi
Dear list! Sorry for off-topic. This list is a grate source of knowledge and I hope you're not very irritated by this off-topic. Network setup: A -> B -> C Host A can connect to host B but not to host C directly. So, I do the following. First, from host C I connect to B: ssh -R 10002;localhost:22 u