Created
May 30, 2020 12:27
-
-
Save cccntu/e217dfa9a39ff837b948b03bc3afc1da to your computer and use it in GitHub Desktop.
access images on server over ssh, without downloading, using one-line python http server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local_account@local_hostname$ ssh -L 12345:0.0.0.0:12345 remote_account@remote_hostname | |
remote_account@remote_hostname$ python -m http.server 12345 | |
# open http://localhost:12345/ on local computer browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment