經過ssh遠程端口(隧道)轉發使外網能訪問到內網機器

家裏有兩臺樹莓派平時在外面想訪問下vim   首先啓用服務器端GatewayPort來使遠程網卡能夠綁定,設置鏈接保持服務器 vim /etc/ssh/sshd_config #修改如下屬性 GatewayPorts yes ClientAliveInterval 60 ClientAliveCountMax 3 #而後退出vim編輯器,從新加載sshd配置 service sshd reloa
相關文章
相關標籤/搜索