大家都知道登陸ssh可以用sshpass自動輸入密碼,但是掛載sshfs卻不行,其實sshpss是可以給sshfs輸入密碼的,只需要使用參數-o ssh_command=』sshpass -p password ssh'。
確定! 回上一頁