assistant: Fix local pairing to not include newline in ssh pubkey, which is rejected on the other end for security reasons.
This commit is contained in:
parent
a8fcd68144
commit
20edbf850c
3 changed files with 21 additions and 1 deletions
|
@ -0,0 +1,17 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 4"""
|
||||
date="2015-07-02T18:32:16Z"
|
||||
content="""
|
||||
In comment 2, we see a message containing a ssh key with a newline at the
|
||||
end. That is the control character it's objecting to, and it has good
|
||||
security reasons to not allow newlines in there (multiline ssh keys could
|
||||
result in a ~/.ssh/authorized_keys that runs arbitrary commands).
|
||||
|
||||
I was able to reproduce that myself. The problem was that the assistant
|
||||
didn't remove newlines when sending the ssh key. Fixed it.
|
||||
|
||||
This bug report is **closed**, for the second time.
|
||||
If you see this message using any newer version of git-annex,
|
||||
please file a new bug report.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue