サーバーのFileを使いたい時に、どうすればいいの?
ftp?
sshfsでsshを経由してサーバのディレクトリをマウントできます。
恒例
インストールする
apt-get install sshfs
使う
sshfs username@192.168.1.101:/tmp/ /mnt/ -p 22
# ペラメタ:
# -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)