Search code examples
pythontensorflowtensorboard

Is it possible to see tensorboard over ssh?


I am running tensorflow code remotely on a ssh server. (e.g., ssh -X account@server.address)

On the remote server, it says You can navigate to http://0.0.0.0:6006.

In this case, how can I check tensorboard? How can I navigate the address of a remote machine? I tried to search, but there seems no useful information.


Solution

  • 0.0.0.0 is the wildcard address. Thus, you can use any address for the purpose unless the system's firewall is implementig something more restrictive.

    That said, let's assume that it is implementing firewall-based restrictions (if it weren't, you could just access http://server.address:6006/ -- but so could anyone else). In that case:

    ssh -L 16006:127.0.0.1:6006 account@server.address
    

    ...and then refer to http://127.0.0.1:16006/ in a local browser.