Ignorera host key med SSH: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

11 May 2026

20 April 2023

  • curprev 10:5810:58, 20 April 2023 Linuxwiki>Wikiadmin 578 bytes +89 No edit summary
  • curprev 10:5710:57, 20 April 2023 Linuxwiki>Wikiadmin 489 bytes +489 Skapade sidan med '== Logga in med ssh och ignorera host keys == Källa: https://linux.livejournal.com/1884229.html Exempel: '''[jackal@brads-mac]# ssh -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no www.somehost.com date Thu Jun 6 15:32:55 UTC 2013''' Gör det permanent: Skapa eller lägg till först i filen '''~/.ssh/config''': '''Host *.somehost.com''' '''StrictHostKeyChecking no''' '''UserKnownHostsFile=/dev/null''' '''LogLevel=quiet''' ...'