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

            Bug ID: 3793
           Summary: Colon in identity file name causes 'load pubkey
                    invalid format'
           Product: Portable OpenSSH
           Version: 8.0p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: unassigned-b...@mindrot.org
          Reporter: mjenk...@gmail.com

If you use an IdentityFile in your config with a colon in it, ssh
generates a 'load pubkey "/path/to/key/namewith:init" format error' but
then continues working anyways.

So if you have a ~/.ssh/config like so

Host hostname
  IdentityFile /home/user/.ssh/id_KEYTYPE_ISOTIMESTAMP

When you go to use it, it generates that error. If you remove the
colons from the timestamp and update the config file the error goes
away.

It's not a huge issue, hence being 'minor' and I've worked around it by
removing the colons. I've started adding timestamps to key file names
to keep our security scanners honest. :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to