Question
I want to connect to some servers using SSH, but I want to ignore any errors about changed or missing keys. How can I accomplish this?
Answer
$ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@whatever.com
I want to connect to some servers using SSH, but I want to ignore any errors about changed or missing keys. How can I accomplish this?
$ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@whatever.com
@article{yaltirakliqnasshdisablehostkeychecking, title = "How to disable Strict Host Key Checking in SSH?", author = "Yaltirakli, Gokberk", journal = "gkbrk.com", year = "2024", url = "https://www.gkbrk.com/qna/ssh-disable-host-key-checking/" }
Gokberk Yaltirakli, "How to disable Strict Host Key Checking in SSH?", November, 2024. [Online]. Available: https://www.gkbrk.com/qna/ssh-disable-host-key-checking/. [Accessed Nov. 12, 2024].
Yaltirakli, G. (2024, November 12). How to disable Strict Host Key Checking in SSH?. https://www.gkbrk.com/qna/ssh-disable-host-key-checking/
Gokberk Yaltirakli, How to disable Strict Host Key Checking in SSH?, GKBRK.COM (Nov. 12, 2024), https://www.gkbrk.com/qna/ssh-disable-host-key-checking/
© 2024 Gokberk Yaltirakli