Mount a directory on another server with sshfs

What should I do when I want to use File on the server? ftp?

You can mount the server directory via ssh with sshfs.

Customary

https://github.com/libfuse/sshfs

install

apt-get install sshfs

use

sshfs [email protected]:/tmp/ /mnt/ -p 22


#Perameta:
#-p PORT equivalent to '-o port=PORT'
#-C equivalent to '-o compression=yes' 
#-F ssh_configfile specifies alternative ssh configuration file 
#-o reconnect reconnect to server 
#-o no_readahead synchronous reads (no speculative readahead) 
#-o sshfs_debug print some debugging information 
#-o cache=BOOL enable caching {yes,no} (default: yes) 

Recommended Posts

Mount a directory on another server with sshfs
Create a directory with python
How to mount a Windows 10 directory on Ubuntu-Server 20.04 on VMware Workstation 15
Creating a Flask server with Docker
Run a Linux server on GCP
Mount S3 on Ubuntu with goofys
Run TensorFlow2 on a VPS server
Build a Pypi cache server on QNAP
[Note] Read a file from another directory
Django + Apache with mod_wsgi on Windows Server 2016
A memo with Python2.7 and Python3 on CentOS
Map rent information on a map with python
Throw a request with a certificate on httpie
Build a Samba server on Arch Linux
Install the python module with pip on a server without root privileges
Build a web server on your Chromebook
A note on enabling PostgreSQL with Django
Run Jupyter notebook on a remote server
Rock-paper-scissors with Python Let's run on a Windows local server for beginners
Publish the current directory on the web server
Build a proxy server with nginx on multiple remote servers using Ansible
Until you install Python with pythonbrew and run Flask on a WSGI server
Build a local server with a single command [Mac]
Set up a simple HTTPS server with asyncio
Build a WardPress environment on AWS with pulumi
Install Windows 10 from a Linux server with PXE
Set up a local server with Go-File upload-
Try Tensorflow with a GPU instance on AWS
Build a python environment with ansible on centos6
Start a simple Python web server with Docker
Pretend to be a server with two PCs
Folium: Visualize data on a map with Python
Start a process with a scheduling policy on Linux
Set up a local server with Go-File download-
Building a Python environment on a Sakura VPS server
Decrypt a string encrypted on iOS with Python
Create a "Hello World" (HTTP) server with Tornado
Visualize grib2 on a map with python (matplotlib)
Set up a simple local server on your Mac
Looking back on creating a web service with Django 1
Set up a file server on Ubuntu 20.04 using Samba
Restore what was installed with pip3 on another PC
Build a python environment for each directory with pyenv-virtualenv
Precautions when installing a hierarchical include directory with waf
[Part 2] Let's build a web server on EC2 Linux
I made a Python3 environment on Ubuntu with direnv.
Set up a free server on AWS in 30 minutes
[Part 1] Let's set up a Minecraft server on Linux
A server that echoes data POSTed with flask / python
Create a home music server with Centos8 + Universal Media Server
A note on speeding up Python code with Numba
Deploy a Django app made with PTVS on Azure
Launch Django on a Docker container with docker-compose up
Current directory when creating a new one with Jupyter
How to run Django on IIS on a Windows server
Notes on creating a virtual environment with Anaconda Navigator
Create a fake Minecraft server in Python with Quarry
Making a paper craft on Linux/macOS with OSS Memo
[Vagrant] Set up a simple API server with python
Apply conda's env to a specific directory with pyenv-vertualenv