Port forwarding beauty
Then, log in to minerva and leave the connection there. You might want to run this in screen or set your terminal not to send the hup signal or whatever. If you’re worried about the connection terminating, you can fix this with a while loop plus ssh-agent OR configure your ssh_config to set TCPKeepAlive to yes.
When you want to connect to your machine from somewhere external, ssh to minerva and run (where localuser is the user on your machine, not minerva): ssh -p port localuser@localhost
And then you’ll be sshed to your machine.
Source: http://ca.simons-rock.edu/ca/wiki/RemoteSSH?version=2
Then, log in to minerva and leave the connection there. You might want to run this in screen or set your terminal not to send the hup signal or whatever. If you’re worried about the connection terminating, you can fix this with a while loop plus ssh-agent. OR configure your ssh_config to set TCPKeepAlive to yes.
When you want to connect to your machine from somewhere external, ssh to minerva and run (where localuser is the user on your machine, not minerva): ssh -p port localuser@localhost
And then you’ll be sshed to your machine.
http://ca.simons-rock.edu/ca/wiki/RemoteSSH?version=2
Loading...