Sunday, September 4, 2016

Connecting to your computer from somewhere else

1. The easy way: Tmate.io
2. The harder way, ssh reverse tunneling
https://juntx.wordpress.com/2014/07/28/use-amazon-ec2-and-ssh-reverse-tunneling-to-connect-computers-behind-firewall-or-nat/
http://www.acooke.org/cute/ReverseRem0.html

https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
https://thepcspy.com/read/making-ssh-secure/
http://www.howtogeek.com/75007/stupid-geek-tricks-use-your-ssh-config-file-to-create-aliases-for-hosts/

Start remote
From target computer
ssh into ec2
ssh -R 2222:localhost:22 ec2-ip/host-name

ssh into ec2
from ec2 run ssh -p 2222 me@localhost

No comments :

Post a Comment