[Bug 2525] New: 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
Thu Jan 14 09:30:28 AEDT 2016


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

            Bug ID: 2525
           Summary: Please add an alias such as -o Insecure for -o
                    UserKnownHostsFile=/dev/null -o
                    StrictHostKeyChecking=no
           Product: Portable OpenSSH
           Version: 6.7p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: mjevans1983 at gmail.com

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

I would like to be able to easily, when typing out an SCP/SSH command
for use on a trusted local network, connect to a non-permanent system
(E.G. a rescue system running from ram or a new VM which is going to be
re-configured) without impacting the known hosts file or even asking me
what it's key is.

There are three advantages of -o Insecure over the existing option:

* It's more clear what you're telling ssh / scp / sftp to do.
* It's easy to remember and type.
* The special file /dev/null might, on some crazy system, be different,
or unavailable.  It's actually just a way of subverting the request for
a file to store the data in.  -o Insecure could avoid even opening a
file.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list