当前位置:   article > 正文

ssh防止挂死的小技巧_windows怎么防止ssh终端挂死

windows怎么防止ssh终端挂死

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参数,可规避没有信任关系挂死的问题

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/158152?site
推荐阅读
相关标签
  

闽ICP备14008679号