This is a discussion on ssh via 3 machines within the comp.unix.solaris forums, part of the Solaris Operating System category; --> HI, I am trying to connect tree machines, SUN1-LINUX-SUN2 via ssh. After doing a ssh -X user@LINUX I use ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Michael Laajanen <michael.laajanen.no-spam.@telia.com> writes: > HI, > > I am trying to connect tree machines, SUN1-LINUX-SUN2 via ssh. > > After doing a ssh -X user@LINUX I use telnet to SUN2, but what should I set > the DISPLAY to? > > Or is it not possible to get back into the ssh tunnel from SUN2! > Why don't you ssh from Linux machine to SUN2? If all 3 machine support X-forwarding, using ssh you won't need to worry about DISPLAY. It works for me, anyway. Bye, Dragan -- Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer !!! Sender/From address is bogus. Use reply-to one !!! |
| |||
| HI, Dragan Cvetkovic wrote: > Michael Laajanen <michael.laajanen.no-spam.@telia.com> writes: > > >>HI, >> >>I am trying to connect tree machines, SUN1-LINUX-SUN2 via ssh. >> >>After doing a ssh -X user@LINUX I use telnet to SUN2, but what should I set >>the DISPLAY to? >> >>Or is it not possible to get back into the ssh tunnel from SUN2! >> > > > Why don't you ssh from Linux machine to SUN2? If all 3 machine support > X-forwarding, using ssh you won't need to worry about DISPLAY. > > It works for me, anyway. SUN2 does not have SSH installed. Any idea how to do it then? /michael |
| |||
| In article <goWRb.46721$mU6.177578@newsb.telia.net>, Michael Laajanen <michael.laajanen.no-spam.@telia.com> wrote: >HI, >Dragan Cvetkovic wrote: >> Michael Laajanen <michael.laajanen.no-spam.@telia.com> writes: >> >> >>>HI, >>> >>>I am trying to connect tree machines, SUN1-LINUX-SUN2 via ssh. >>> >>>After doing a ssh -X user@LINUX I use telnet to SUN2, but what should I set >>>the DISPLAY to? when you are logged in on the Lunix machine, check you DISPLAY varaible. It is probably lunixhostname:11.0 or somesuch. After you telnetted tou the might Sun2, set the DISPLAY to lunixhostname:11.0 Be happy. /Fredrik -- Fredrik Lundholm dol @ ce.chalmers.se |
| |||
| On Wed, 28 Jan 2004, Michael Laajanen wrote: > SUN2 does not have SSH installed. > > Any idea how to do it then? Install ssh on SUN2. ;-) If that's not an option, shoot the sysadmin. After that, try echo $DISPLAY on the LInux box, and then set DISPLAY to that on SUN2. You'll probably have to mess about with xauth and/or xhost; installing ssh on SUN2 is the far better option! -- Rich Teer, SCNA, SCSA President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-online.net |
| |||
| > Install ssh on SUN2. ;-) > > If that's not an option, shoot the sysadmin. After that, > try echo $DISPLAY on the LInux box, and then set DISPLAY > to that on SUN2. unless it is "localhost:10" in that case the OP is stuck with options 1 or 2 (install ssh or shoot the sysadmin) :-) |
| |||
| HI, Oscar del Rio wrote: > >> Install ssh on SUN2. ;-) >> >> If that's not an option, shoot the sysadmin. After that, >> try echo $DISPLAY on the LInux box, and then set DISPLAY >> to that on SUN2. > > > unless it is "localhost:10" in that case the OP is stuck > with options 1 or 2 (install ssh or shoot the sysadmin) :-) > Yes I have tried to set DISPLAY before I posted, and since I think tunneling from jail is even harder we have to install ssh Hmm, that was actually quite fun jumping over fences today so maybe a tunnel would be possible since nobody is checking that one... Maybe time to get S9 and get SSH directly. /michael |
| |||
| Hi, > SUN2 does not have SSH installed. > Any idea how to do it then? use the packages available from www.blastwave.org Thomas |
| ||||
| On Wed, 28 Jan 2004 22:07:08 +0000, Michael Laajanen wrote: > HI, > Dragan Cvetkovic wrote: >> Michael Laajanen <michael.laajanen.no-spam.@telia.com> writes: >> >> ... >>>I am trying to connect tree machines, SUN1-LINUX-SUN2 via ssh. >>> > > SUN2 does not have SSH installed. > so install it. even if you are not root... if there is not a firewall in the way, you can copy over an sshd binary, cobble together the appropriate hacky config file, force sshd to point to it in your home directory, and run it on a port >1024 |
| Thread Tools | |
| Display Modes | |
|
|