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

            Bug ID: 3850
           Summary: concurrent runs of ssh corrupts the known_hosts file
           Product: Portable OpenSSH
           Version: 10.0p2
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

If I run few (about 16) ssh commands in parallel as seen in [1], then
from time to time the known_hosts files gets being corrupted. In that
case I have to delete those lines where 2 parallel ssh commands wrote
into the same line.

I do wonder whether ssh allows concurrent runs at the same machine (for
new systems where the ssh host key is not yet known) or not?



[1]
https://github.com/toralf/tor-relays/blob/main/bin/trust-host-ssh-key.sh#L16

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

Reply via email to