|
#1
| |||
| |||
| I can do ssh -fN -L 9022: ssh -XC -p 9022 localhost to get a ssh connection with X-forwarding to the remote XServer tunneled through ssh -XC -p 9022 \ -oProxyCommand="ssh -L 9022: localhost but this fails. Where do i misunderstand the concept of ProxyCommand? Thank you for any hints Wolfgang |
|
#2
| |||
| |||
| > Hello, > I can do > > ssh -fN -L 9022: > ssh -XC -p 9022 localhost > > to get a ssh connection with X-forwarding to the remote XServer tunneled > through > > ssh -XC -p 9022 \ > -oProxyCommand="ssh -L 9022: > localhost > > but this fails. Where do i misunderstand the concept of ProxyCommand? ssh -XC -oProxyCommand="ssh There is no longer any need for the indirection of port forwarding. This requires that you have something like nc (netcat) on ssh-server. -- Richard Silverman res@qoxp.net |
|
#3
| |||
| |||
| Richard E. Silverman schrieb: >> Hello, >> I can do >> >> ssh -fN -L 9022: >> ssh -XC -p 9022 localhost >> >> to get a ssh connection with X-forwarding to the remote XServer tunneled >> through >> >> ssh -XC -p 9022 \ >> -oProxyCommand="ssh -L 9022: >> localhost >> >> but this fails. Where do i misunderstand the concept of ProxyCommand? > > ssh -XC -oProxyCommand="ssh > > There is no longer any need for the indirection of port forwarding. This > requires that you have something like nc (netcat) on ssh-server. > Thank you for your answer. I think i really misunderstood the concept of -oProxyCommand. Is it true, that if there is a -oProxyCommand, there can not be a -p Option because ssh does not use TCP but to communicate to the server? What do you mean by "There is no noner any need ..."? Is -oProxyCommand an older concept then portforwarding? Wolfgang |
|
#4
| |||
| |||
| >>>>> "WM" == Wolfgang Meiners WM> Richard E. Silverman schrieb: >>> Hello, I can do >>> >>> ssh -fN -L 9022: >>> 9022 localhost >>> >>> to get a ssh connection with X-forwarding to the remote XServer >>> tunneled through >>> >>> ssh -XC -p 9022 \ -oProxyCommand="ssh -L 9022: >>> >>> >>> but this fails. Where do i misunderstand the concept of >>> ProxyCommand? >> ssh -XC -oProxyCommand="ssh >> remote-XServer >> >> There is no longer any need for the indirection of port forwarding. >> This requires that you have something like nc (netcat) on >> ssh-server. >> WM> Thank you for your answer. I think i really misunderstood the WM> concept of -oProxyCommand. Is it true, that if there is a WM> -oProxyCommand, there can not be a -p Option because ssh does not WM> use TCP but You can specify a port with -p, but as you say it will not be used by the top SSH client. Instead, it will affect the interpretation of the %p parameter in the ProxyCommand string. WM> What do you mean by "There is no noner any need ..."? Is WM> -oProxyCommand an older concept then portforwarding? I meant, you didn't need the port forwarding once you changed to using ProxyCommand. -- Richard Silverman res@qoxp.net |
« Previous Thread
|
Next Thread »
| Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ProxyCommand and ExitOnForwardFailure = leftover process | unix | openssh | 0 | 08-13-2008 01:09 PM |
| PuTTY and ProxyCommand | unix | SSH | 10 | 10-03-2007 04:17 AM |
| Putty and ProxyCommand Support? | unix | SSH | 4 | 10-03-2007 04:12 AM |
All times are GMT. The time now is 09:39 AM.
