无聊的IT

导航

2018年1月19日 #

python调用 sshpass

摘要: [root@qinhan ~]# ifconfig eno16777736: flags=4163 mtu 1500 inet 172.16.43.105 netmask 255.255.255.0 broadcast 172.16.43.255 inet6 fe80::20c:29ff:fe22:1f4f prefixlen 64 scopeid 0x... 阅读全文

posted @ 2018-01-19 10:53 秦寒 阅读(612) 评论(0) 推荐(0) 编辑

sshpass 使用方法

摘要: 首先下载sshpass并且安装 $ tar -zxvf sshpass-1.06.tar.gz $ cd sshpass-1.06 $ ./configure --prefix=/usr/local/sshpass #指定安装目录 $ make $ make install 问题来了如果 删除~/. 阅读全文

posted @ 2018-01-19 10:29 秦寒 阅读(1984) 评论(0) 推荐(0) 编辑

ssh 绕过The authenticity of host '*.*.*.*' can't be established 直接输入密码

摘要: 只需要使用命令 ssh webgate@10.129.6.237 -o "StrictHostKeyChecking no" 即可以绕过 insp_ap@inspect02:/home/etc_backup/etc> insp_ap@inspect02:/home/etc_backup/etc> ssh webgate@10.129.6.237 The authenticity ... 阅读全文

posted @ 2018-01-19 10:06 秦寒 阅读(473) 评论(0) 推荐(0) 编辑