`
MauerSu
  • 浏览: 525210 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Warning: Permanently added to the list of known hosts

    博客分类:
  • git
 
阅读更多
源:https://stackoverflow.com/questions/9299651/git-says-warning-permanently-added-to-the-list-of-known-hosts
评:

203
down vote
accepted
Solution: create a ~/.ssh/config file and insert the line:

UserKnownHostsFile ~/.ssh/known_hosts
You will then see the message the next time you access Github, but after that you'll not see it anymore because the host is added to the known_hosts file. This fixes the issue, rather than just hiding the log message.

分享到:
评论

相关推荐

    Ansible报错解决方法...added 'IP' (ECDSA) to the list of known hosts

    在使用Ansible自动化运维工具时,可能会遇到各种错误情况,其中一种常见的报错是"Permanently added 'IP' (ECDSA) to the list of known hosts"。这个错误信息是由于SSH安全策略导致的,当Ansible尝试连接到一个新的...

    oracle asm rac

    Units = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1908 1953776 83 Linux /dev/sdb2 1909 3816 1953792 83 Linux /dev/sdb3 3817 5724 1953792 83 Linux /...

    AWS亚马逊ssh登录失败 Permissions 0644 for .pem are too open

    说明 AWS亚马逊ssh登录失败 Permissions...Warning: Permanently added 'yourAwsAddress.compute.amazonaws.com,00.00.00.00' (ECDSA) to the list of known hosts. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    nubo:从命令行在不同的云提供商上部署 Linux VM

    Public IP: 54.247.8.150然后在其上安装 puppet: $ ssh root@54.247.8.150 "apt-get -y install puppet"Warning: Permanently added '54.247.8.150' (RSA) to the list of known hosts.Reading pac

    VMware vsan+ 故障查询+信息状态查询

    Warning: Permanently added '192.168.11.75' (vim) to the list of known hosts Welcome to RVC. Try the 'help' command. 0 /1 192.168.11.75/>> ``` #### 三、RVC常用命令 1. **基本命令** - `cd`:用于...

    linux搭建git服务器

    Warning: Permanently added '192.168.56.101' (RSA) to the list of known hosts. ``` - 此时会在客户端用户的`.ssh`目录下生成`known_hosts`文件。 #### 五、SSH公钥验证配置 1. **客户端创建SSH密钥对:** ...

Global site tag (gtag.js) - Google Analytics