hoangdangninh
5/31/2017 - 10:17 PM

tunnel ssh from school to home

tunnel ssh from school to home

ssh -f <wsuid>@kira.cs.wichita.edu -L 2000:kira.cs.wichita.edu:22 -N


# Then we can ssh <wsuid>@localhost -p 2000
# Run an ftp service on kira, example
python -m SimpleHTTPServer 8000

# Create a tunnel to localhost
ssh -L 1234:kira.cs.wichita.edu:8000 u568a644@kira.cs.wichita.edu -N

# Now we can access through local host
# by opening the web browser and go to http://localhost:1234