【文件属性】:
文件名称:tunl:使用SSH将远程端口安全地代理到本地端口
文件大小:3KB
文件格式:ZIP
更新时间:2021-04-30 19:16:54
JavaScript
隧道
使用SSH将远程端口安全地代理到本地端口。
用法
程式化
var tunl = require('tunl');
tunl({
map: {
80: 8080
},
ssh: {
host: 'example.com',
username: 'joe',
key: 'path/to/key.pem'
}
});
命令行界面
命令行选项使用处理
tunl --map.2000 2000 --map.9998 9999 --map.35728 35729 --ssh.username ubuntu --ssh.host example.com --ssh.key path/to/key.pem
tunl --config < configfile>
选项
ssh
主持人
SSH主机
用户名
ssh登录ID
密码
明文密码
私钥
ssh密钥
【文件预览】:
tunl-master
----cmd.js(78B)
----Readme.md(987B)
----examples()
--------programmatic(152B)
--------cmd(120B)
----index.js(697B)
----package.json(712B)