Summary: | dev-python/paramiko: ~/.ssh/known_hosts is overwritten and comments are lost (upstream bug) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nils Freydank <holgersson> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | alicef, holgersson, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/Xpra-org/xpra/issues/3266 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nils Freydank
2021-09-13 22:12:24 UTC
As a workaround writing into the file can be disallowed, which is rather inconvenient though as it prevents also legitimate access to the file: 'chmod -w ~/.ssh/known_hosts' It is actually a bug in paramiko[1], the underlying ssh library as pointed out by upstream xpra[2]. They also mention to use openssh instead of paramiko as a workaround, using xpra --ssh='ssh', which is way better than my initial read-only approach. [1] https://github.com/paramiko/paramiko/issues/680 [2] https://github.com/Xpra-org/xpra/issues/3266 |