[Bug 2525] Please add an alias such as -o Insecure for -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jan 15 08:08:41 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2525

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
Sorry, I don't think it's worth adding yet another option to do
something that you can already do multiple ways.

> The intended use is /precisely for/ //non-permanent// systems.

The systems might be transient but you can still keep the config entry:

$ cat <<EOD >>~/.ssh/config
Host rescue
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking=no
EOD
$ ssh -o hostname=10.1.1.1 rescue

or a shell alias:
$ alias insecuresh=" -o UserKnownHostsFile=/dev/null -o
StrictHostKeyChecking=no"

> I also want a discussion, or at least un-official approval of the name
> I selected for the feature

You missed a step: agreement that it's worth doing.  I don't think it
is.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list