You are not logged in.
Do any Arch users have tricks to do this?
I was thinking it would be possible to with Crontab and SSH tunneling like so (doesn't seem to work though):
ssh -N -L2001:localhost:22 bauer.dnsdojo.com
But I wanted to know if anyone is able to get over the problem of not knowing your machines external IP.
Libertarian Arch Linux User
Offline
Why not use something like dyndns or noip?
Okay that's what I was looking for. But what if you share an external IP? Is there anyway to get around that?
Libertarian Arch Linux User
Offline
Then you configure your router to forward specific ports to specific machines, and connect using ssh's -p flag.
Offline
But what if I'm not the admin of the network, just using it? I'm thinking this is impossible.
Libertarian Arch Linux User
Offline
If you are behind a NAT gateway, you don't control, your options are limited if they won't forward a port for you. You could use a reverse SSH connection[1]. If the connection tends to drop out it may be a problem. A cronjob to check the connection every now and then and recreate it if needed might work. If you have access to an external machine a VPN might be better. Your laptop would be the client and connect to the external machine, you would ssh to the external machine and then onto your laptop.
Offline
@matthewbauer: Look there: http://samy.pl/chownat/ .
Offline
@matthewbauer: Look there: http://samy.pl/chownat/ .
That's pretty amazing stuff right there...
Offline
hamachi is the easiest solution IMO
Offline