Airy Tech 科技

Let’s build great from here !

SSH

  • ssh第一次输入免yes

方法一:连接时加入StrictHostKeyChecking=no
ssh -o StrictHostKeyChecking=no root@192.168.1.100

方法二:修改/etc/ssh/ssh_config配置文件,添加:
StrictHostKeyChecking no

  • ssh-keygen免交互

ssh-keygen -t rsa -P “” -f ~/.ssh/id_rsa

ssh-keygen -t rsa

发表回复

Your email address will not be published. Required fields are marked *.

*
*

常用功能

近期文章

近期评论

归档

分类