close
$ ssh -N -f -g -L 8888:remote_host:8888 login@remote_host
 
-N 不要建立shell
-f 丟到背景執行
-g 允許listen其他address , default 只 listen localhost
-L 對應的port:遠端address:遠端port
最後一定要有對方的帳號
arrow
arrow
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()