代码拉取完成,页面将自动刷新
其中配置文件conn.profile为json格式
{
"test1": {
"host": "192.168.0.1",
"port": 22,
"user": "root",
"pass": "123456",
"connecttype": "ssh",
"sshtype": "pass",
"language": "None"
},
"test2": {
"host": "192.168.0.1",
"port": 22,
"user": "root",
"pass": "123456",
"connecttype": "ssh",
"sshtype": "~/.ssh/test_rsa",
"language": "en_US.UTF-8"
},
"test3": {
"host": "192.168.0.1",
"port": 23,
"user": "root",
"pass": "123456",
"connecttype": "telnet",
"language": "en_US.UTF-8"
}
}
echo 'aliases="$HOME/Documents/ssh/connect.sh"' >> ~/.bashrc
connect show test1
/test1/host 192.168.0.1
/test1/port 22
/test1/user root
/test1/pass 123456
/test1/connecttype ssh
/test1/sshtype pass
/test1/language en_US.UTF-8
connect test1
Last login: Mon Aug 8 23:48:46 2016 from gateway
[root@clusterA31 ~]#
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。