Re: [问题] autossh 开机自动

楼主: yshihyu (yshihyu)   2017-07-13 21:01:11
※ 引述《yshihyu (yshihyu)》之铭言:
: 我家里电脑在 ~/.profile 底下加上下面指令可以成功建起 tunnel
: nohup autossh -M 23456 -NfR 8888:localhost:22 [email protected]/*
作者: qsort (Cos)   2017-07-14 11:09:00
忘了请你多设ExitOnForwardFailure,这可以避免ssh连上,但forwarding port却没开成功

Links booklink

Contact Us: admin [ a t ] ucptt.com