Tuesday, June 27, 2017

How to access tensorboard via ssh tunnel

Since CIBCI tends to utilize the computation resource provided by the faculty, however the IT admins reluctant to add tensorboard to the white-list of firewall, so a solution needs to be fixed out to overcome it.

One solution is to transfer the event file between peer and server, a more clever way is to do an ssh tunnel. Since on the campus network, there's no NAT, so a local port-forwarding is OK, however for whose server sitting behind the NAT, a remote forwarding is required.

For locate forwarding, just modify the shortcut as follows:
"C:\Program Files\PuTTY\putty.exe" -ssh username@ip-address -L 8080:ip-address:8080

Enjoy the wonderful tool