simplehttpserver8085.py
import SimpleHTTPServer
import SocketServer
PORT = 8085
IP = '127.0.0.1'
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer((IP, PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()
Start-up
nohup python simplehttpserver8085.py &
$HOME.ssh/config
Host dump01
#abridgement
Host dump01-8085
ProxyCommand ssh -NL 8085:localhost:8085 dump01
Connect
ssh dump01-8085
You can browse the files on the server by connecting to http: // localhost: 8085 / with a browser.
Recommended Posts