GeekFactory

int128.hatenablog.com

2008-01-20から1日間の記事一覧

sshfsで接続が切れたときに自動的に再接続する

autosshをインストールする。 # apt-get install autossh接続時にオプションとして ssh_command=autossh を渡す。 sshfs ユーザID@example.com:. /mnt/remote/example.com -o idmap=user,allow_other,transform_symlinks,ssh_command=autossh