Skip to content

known_hosts overwriten #680

Open
Open

Description

@drzraf

follow-up of https://bugs.launchpad.net/duplicity/+bug/1532229

Backup using the duplicity scp://xxx backend for a host not having already its key stored in the known_hosts file implies
a full rewrite of that file.

The annoying and unexpected thing being that every entry in the form:

hostA,hostB ssh-rsa

is rewritten as

hostA ssh-rsa
hostB ssh-rsa

Activity

  1. ivilata commented on Jun 1, 2016

    @ivilata

    I also came across this issue when using pyhoca-cli, I have a big know_hosts file carefully crafted with comments etc. and after the rewrite I lost all comments, entry ordering etc.

    I was lucky to have the file under version control, but for other people who (like me) assume that new entries are simply added to the end of the file it may be an awful surprise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions