赞
踩
1、ssh 使用加-o StrictHostKeyChecking=no参数 可规避这个问题
<1021 SEE3 [pyncloud] :/home/pyncloud/.ssh>ssh -l pyncloud 10.137.47.18 ls
The authenticity of host '10.137.47.18 (10.137.47.18)' can't be established.
RSA key fingerprint is d7:76:64:fd:4a:d3:ca:9f:e7:c3:d6:2d:df:be:5b:ce.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
<1022 SEE3 [pyncloud] :/home/pyncloud/.ssh>ssh -o StrictHostKeyChecking=no pyncloud@10.137.47.18
Warning: Permanently added '10.137.47.18' (RSA) to the list of known hosts.
Last login: Mon Oct 21 11:25:33 2013 from 10.137.47.57
<1024 SEE3 [pyncloud] :/home/pyncloud/.ssh>ssh -o StrictHostKeyChecking=no -l pyncloud 10.137.47.18 ls
2、ssh 使用加-o NumberOfPasswordPrompts=0参数,可规避没有信任关系挂死的问题
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。