Thursday, 4 July 2013

Poke an ssh tunnel to your house


  1. remote server
    1. ssh -R 19999:localhost:22 myhomeuser@myhome.domain.org
  2. home server
    1. ssh myremoteuser@localhost -p 19999

  1. use below on your remote server to keep connection open
    1. ~/.ssh/config
Host myhome.domain.org
  User myhomeuser
  ServerAliveInterval 60

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...