摘要: ssh登录巨慢怎么办,设计验证是好的,但是那些验证的确没啥用反而造成了一些不便修改/开启 /etc/ssh/ssh_config这三个参数再重启即可取消验证 StrictHostKeyChecking no GSSAPIAuthentication no UseDNS no # systemctl 阅读全文
posted @ 2020-01-08 23:37 AlexG 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1.执行单一命令 [root@vps ~]# ssh user@192.168.9.243 "pwd; ls; rm -f Cent* ;echo ; ls"/home/useranaconda-ks.cfgCentos7.imgmwgt.tar.gz anaconda-ks.cfgmwgt.tar 阅读全文
posted @ 2020-01-08 22:12 AlexG 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: 主要是两个步骤 1.控制主机创建密钥对(私钥和公钥) 2.把密钥对的公钥加入对方的认证列表中 [root@vps ~]# ssh-keygen [root@vps ~]# ssh-copy-id user@192.168.9.111ssh-keygen -t dsassh-copy-id -i ~/ 阅读全文
posted @ 2020-01-08 16:32 AlexG 阅读(852) 评论(0) 推荐(0) 编辑
摘要: nc命令很强大,用来在内网传输小文件也不错,最主要的是仅一次传输的情况下不需要用户和密码即可直接接受与发送文件 不管是linux2linux 还是 linux2windows皆可 先决条件: 1.使用的网络端口不能被屏蔽 2.能使用nc命令,使用yum install nc 安装 2步实现免密传输文 阅读全文
posted @ 2020-01-08 00:37 AlexG 阅读(420) 评论(0) 推荐(0) 编辑