Bob Crandell wrote:
> Another client is with an ISP that will not open any ports. The have a linux
> server. This client is almost an hour away. I'd rather not have to drive it every
> time they have an issue.
>
> Question:
>
> Is there something like ssh that I can use to connect to me from
> there that will allow be to work on them from here?
The right answer is to get them a non-broken ISP.
A less right answer is to use an outgoing ssh connection, and
tunnel an incoming ssh connection through it.
At the client's host:
ssh -n [EMAIL PROTECTED] -R1234:localhost:22 sleep 100000000
Then to log in from somehost.assuredcomp.com, type this.
ssh -p 1234 localhost
Then set up the ssh authorization so you don't have to type a password
to set up the outgoing connection. And set up someuser so he has zero
privileges.
Once you get that working, you figure out how to keep the connection
alive by generating a little traffic, and you figure out how to bring
the connection up at boot time and restart it when it goes down.
I keep an ssh connection up to tivo's gateway, and I run this script
from my .profile on that machine.
#!/bin/sh -e
while echo "Waiting - hit INTERRUPT..."
do sleep 600
done
That prints one line of text every five minutes, which is sufficient
to keep the connection from dropping.
An alternative to keeping the connection up is to give the client a
script to run or a button to click that will start the outbound ssh
connection. You still log in through the tunneled ssh.
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug