You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nils Knappmeier (JIRA)" <ji...@apache.org> on 2016/07/05 09:05:11 UTC

[jira] [Closed] (WAGON-459) ssh-wagon removes entries from known-hosts

     [ https://issues.apache.org/jira/browse/WAGON-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nils Knappmeier closed WAGON-459.
---------------------------------
    Resolution: Duplicate

Duplicate of WAGON-426

> ssh-wagon removes entries from known-hosts
> ------------------------------------------
>
>                 Key: WAGON-459
>                 URL: https://issues.apache.org/jira/browse/WAGON-459
>             Project: Maven Wagon
>          Issue Type: Bug
>            Reporter: Nils Knappmeier
>
> I have observed that running the ssh-wagon removes all host-keys from the known_hosts-file that do not belong to the target host. We have several host keys for the same host on different ports and for a few other hosts. 
> {code:text}
> [host1]:5030,[192.168.10.13]:5030 ssh-rsa AAA... 
> [host1]:5040,[192.168.10.13]:5040 ssh-rsa AAA....
> [host1]:5041,[192.168.10.13]:5041 ssh-rsa  AAA... 
> [host2]:31222,[192.168.10.5]:31222 ecdsa-sha2-nistp256 AAA...
> [host3]:31522,[192.168.10.6]:31522 ecdsa-sha2-nistp256 AAA...
> {code}
> After the ssh-wagon to copy a file to {{host1:5030}}, the known_hosts file looks like this:
> {code:text}
> [host1]:5030,[192.168.10.13]:5030 ssh-rsa AAA... 
> [host1]:5040,[192.168.10.13]:5040 ssh-rsa AAA....
> [host1]:5041,[192.168.10.13]:5041 ssh-rsa  AAA... 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)