(E-Mail Removed) writes:
> Allen McIntosh wrote:
>
> I can ssh from work to home no problem. I wandered how I could make it
> so that my unix machine at work kept an open connection to home which
> let me get command line access to work from home, if you see what I
> mean. I can get a connection so logically it should be possible to use
> it the other way around, but I wander what is the normal way to do this
> ? i was thinking that I should be able to fire up a shell at work and
> simply redirect the standard IO to the ssh ? Sounds possible to me ..
> Simon
Using ssh tunneling seems the good way to do it.
you will need a shell server on your unix machine at work (if there
is a ssh server, it's ok, else, you will need something that open a shell
when you connect by tcp to it)
let's say your shell server is listening on port 2222, your unix machine
at work is called work, your home machine is called machine.
on work, do this:
ssh homeuser@home -R12345:localhost:2222 # it will open a tunnel between
port 12345 on home and port 2222 on work. You may be interested by -f,
see man ssh
then, on home, do this:
ssh -p 12345 workuser@localhost
and that's ok
--
Thomas Samson