tag:blogger.com,1999:blog-8032022811235182759.post5716280258965781227..comments2024-03-23T08:25:23.254-07:00Comments on Linux Commando: How to disable SSH host key checkingPeter Leunghttp://www.blogger.com/profile/05589860210899238688noreply@blogger.comBlogger66125tag:blogger.com,1999:blog-8032022811235182759.post-36131466220968114362022-01-13T13:07:43.839-08:002022-01-13T13:07:43.839-08:00Thanks as well for the explanation and solution!
A...Thanks as well for the explanation and solution!<br />Appreciate it!Anonymoushttps://www.blogger.com/profile/16297204908447111466noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-55443495682394754402021-01-05T08:07:26.457-08:002021-01-05T08:07:26.457-08:00Thank you very much! Still helpfull (and nowhere e...Thank you very much! Still helpfull (and nowhere else found) in 2020!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-10738382419049959942020-09-23T23:07:39.401-07:002020-09-23T23:07:39.401-07:00Gracias por el aporte, me ayudo 12 años después tu...Gracias por el aporte, me ayudo 12 años después tu blog.<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-4239634354985617242018-04-27T06:30:32.913-07:002018-04-27T06:30:32.913-07:00Thanks. This is great.Thanks. This is great.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-9786676726824199242015-11-24T13:34:01.499-08:002015-11-24T13:34:01.499-08:00Thanks a lotThanks a lotShettyhttps://www.blogger.com/profile/06020325631643246454noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-3045692192186952782015-11-24T13:32:40.181-08:002015-11-24T13:32:40.181-08:00Thanks a lot .. This is what I was looking for. It...Thanks a lot .. This is what I was looking for. It helped me to automate sftp by using shell script . Shettyhttps://www.blogger.com/profile/06020325631643246454noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-15242493197711774342015-01-30T04:32:27.238-08:002015-01-30T04:32:27.238-08:00there are pretty serious security issues with blin...there are pretty serious security issues with blindly turning off host-key checking.tarifa casahttp://www.gotarifa.com/es/alojamiento/casas_tarifa.htmlnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-49548963255709876502014-08-28T10:03:36.975-07:002014-08-28T10:03:36.975-07:00thanks, this was a big help!thanks, this was a big help!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-73055433098635410522014-07-18T04:10:54.533-07:002014-07-18T04:10:54.533-07:00This article is very useful. Thank you.This article is very useful. Thank you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-37261296528174435262014-05-22T11:46:09.743-07:002014-05-22T11:46:09.743-07:00Great post, thanks.
On a MAC this doesn't wo...Great post, thanks. <br /><br />On a MAC this doesn't work as written here. You need to add ' ' after the -i to ignore extensions. Otherwise you will get an error about "command c expects \ followed by text"<br /><br />cheers,<br />john johnhttp://johnodonovan.netnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-33863798358031038392014-02-24T19:09:07.453-08:002014-02-24T19:09:07.453-08:00What if the source file for the scp is not local? ...What if the source file for the scp is not local? The below doesn't seem to work:<br /><br />scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no [remote user]@[remote_host]:/remote/path/to/send/file.zip [remote user]@[remote_host]:/remote/path/to/save/file<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-78917244382331588942013-12-02T23:08:18.546-08:002013-12-02T23:08:18.546-08:00Also, one more touch is the icing on the cake:
-o...Also, one more touch is the icing on the cake:<br /><br />-o LogLevel=quiet<br /><br />-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet<br /><br />Lovely!Benhttps://www.blogger.com/profile/12436049658043217454noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-75428314814208939712013-12-02T23:02:12.288-08:002013-12-02T23:02:12.288-08:00Dude, you rock.
This works also with scp (secure ...Dude, you rock.<br /><br />This works also with scp (secure copy from one ssh server to another) as follows:<br /><br />scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /local/path/to/[remote-key.pem] /local/path/of/file/to/send/file.zip [remote user]@[remote_host]:/remote/path/to/save/file<br />Benhttps://www.blogger.com/profile/12436049658043217454noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-50882330341555412952013-12-02T23:00:33.581-08:002013-12-02T23:00:33.581-08:00Dude, you rock.
This works also with scp (secure ...Dude, you rock.<br /><br />This works also with scp (secure copy from one ssh server to another) as follows:<br /><br />scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /local/path/to/ /local/path/of/file/to/send/file.zip @:/remote/path/to/save/file<br />Benhttps://www.blogger.com/profile/12436049658043217454noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-76062029753962362942013-08-05T01:48:47.731-07:002013-08-05T01:48:47.731-07:00And five years after, this article is just as incr...And five years after, this article is just as incredibly useful as it was from day #1.<br />Thanks for solving this headache for me !SexyMimihttps://www.blogger.com/profile/02498456627714845376noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-43946301170325038912013-05-10T08:44:30.900-07:002013-05-10T08:44:30.900-07:00Thank you for the article, as a guy having to work...Thank you for the article, as a guy having to work on more than 50 linux workstations I really appreciate the trick. xr09http://xr09.github.ionoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-87434904150586578282013-04-12T23:17:03.010-07:002013-04-12T23:17:03.010-07:00This is blog is useful about security attacks.This is blog is useful about security attacks.Anonymoushttps://www.blogger.com/profile/03165302609502695637noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-25242365512692834052013-04-10T14:53:20.187-07:002013-04-10T14:53:20.187-07:00Thanks for this great article. On my system there ...Thanks for this great article. On my system there really is no 'telnet' alternative and some of ssh's well meaning makes it hard to use in scripts where the target machine is constantly being wiped. Obviously, this hack is only for those who understand all the implications...<br /><br />Thanks again!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-72149118619399244892013-03-20T15:20:15.138-07:002013-03-20T15:20:15.138-07:00Thank You!!!!!
typo here (missing 'g'):
h...Thank You!!!!!<br /><br />typo here (missing 'g'):<br />he second method uses two openSSH parameters:<br />StrictHostKeyCheckin, andAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-88141629457165038702013-03-12T06:22:47.716-07:002013-03-12T06:22:47.716-07:00Thanks a lot for posting this!! This is what I was...Thanks a lot for posting this!! This is what I was looking for as I am connecting through USB to different devices so I don't need key checking for this host...KEXIKhttps://www.blogger.com/profile/08941139199194839822noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-83791621979074925712013-03-06T17:16:57.154-08:002013-03-06T17:16:57.154-08:00This is brilliant, thanks for explanation!This is brilliant, thanks for explanation!Anonymoushttps://www.blogger.com/profile/02032081492457315968noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-66492081140321186752013-01-02T11:35:21.418-08:002013-01-02T11:35:21.418-08:00Holy crap thank youHoly crap thank youAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-62113136675713943212012-12-30T19:28:46.008-08:002012-12-30T19:28:46.008-08:00Thank you!
And especially to the trick UserKnownHo...Thank you!<br />And especially to the trick UserKnownHostsFile=/dev/null !<br /><br />That helped me a lot!Anonymoushttps://www.blogger.com/profile/08750467802886062178noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-51801751480210053582012-11-20T09:28:11.737-08:002012-11-20T09:28:11.737-08:00Thanks bud, this was exactly what I was looking fo...Thanks bud, this was exactly what I was looking for.Landonnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-2383140842441946442012-10-09T06:36:58.284-07:002012-10-09T06:36:58.284-07:00"a local file containing known, rustworthy ma..."a local file containing known, <b>rustworthy</b> machines"?!<br /><br />That made me laugh. Thanks for the tutorialChristopher Causerhttps://www.blogger.com/profile/10275459725979043689noreply@blogger.com