What should I do when I want to use File on the server? ftp?
You can mount the server directory via ssh with sshfs.
https://github.com/libfuse/sshfs
apt-get install sshfs
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