Google Colaboratory is a free, fully-hosted fork off of a predecessor of Jupyter available with a Google account.
While mounting Google Drive is straightforward, other storage spaces are not.
This package makes mounting sshfs-accessible remote spaces straightforward.
NOTE: Password-based authentication is not supported.
Execute the following in a cell:
!pip install colab_sshfs
from colab_sshfs import colab_sshfs
colab_sshfs.mount(remote = '<user>@<host>:[remote path]')
By default, the local path mounted is /content/sshfs
.
The mount function returns a CompletedProcess instance.
Review the docstring for full parameters: help(colab_sshfs.mount)
.