【文件属性】:
文件名称:openwrt-autossh:用LuCI进行Autossh
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-18 03:17:19
Shell
适用于OpenWrt的Autossh
安装
,然后
opkg update
opkg install openssh-client
opkg install autossh_1.4d-x_xxxxx.ipk
建造
如果您使用其他OpenWRT版本,请自己构建:cd进入根目录,然后
# clone the Makefile
git clone https://github.com/aa65535/openwrt-autossh.git package/autossh
# select Network -> autossh
make menuconfig
make package/autossh/compile V=99
用法
启用PubkeyAuthentication并将公用密钥放在服务器端的.ssh/authorized_keys 。
如果需要从公用网络访问它,则需要启用Gatew
【文件预览】:
openwrt-autossh-master
----LICENSE(32KB)
----.gitignore(7B)
----Makefile(2KB)
----README.md(984B)
----files()
--------autossh.config(147B)
--------autossh.init(3KB)
--------autossh_cbi.lua(2KB)
--------autossh_controller.lua(436B)
--------autossh.hotplug(325B)
--------autossh.uci(190B)