devblog
This commit is contained in:
parent
6992fe133b
commit
191665e7f0
2 changed files with 39 additions and 0 deletions
20
doc/devblog/day_457__improved_ssh_password_prompting.mdwn
Normal file
20
doc/devblog/day_457__improved_ssh_password_prompting.mdwn
Normal file
|
@ -0,0 +1,20 @@
|
|||
After a month away building [debug-me](https://debug-me.branchable.com/)
|
||||
I'm back working on git-annex. I hope debug-me will be useful for debugging
|
||||
git-annex in some situations BTW.
|
||||
|
||||
Pushed a release yesterday that was mostly changes from back in March.
|
||||
It also updated the git bundled with git-annex to fix the recent git-shell
|
||||
security hole.
|
||||
|
||||
After work on Monday and today, I am caught up with all the recent month's
|
||||
backlog, but still have 230 old backlogged messages to get to.
|
||||
|
||||
The first consequental thing I got back to was improving ssh password
|
||||
prompting when git-annex is running concurrently with -J. It used to start
|
||||
up several ssh's at the same time, so connection caching didn't kick in,
|
||||
and there could be a bunch of ssh password prompts at the same time. Now
|
||||
there will never be more than one ssh password prompt at once, and only one
|
||||
prompt per host. (As long as connection caching is enabled.)
|
||||
|
||||
That mostly works, but `git annex drop -J` exposes a bug in it, which I'll
|
||||
have to get back to tomorrow.
|
|
@ -0,0 +1,19 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2017-05-11T21:57:24Z"
|
||||
content="""
|
||||
Current status: It's implemented, but not for `GIT_SSH` yet.
|
||||
|
||||
`git annex get -J 3` seems to work well.
|
||||
|
||||
`git annex drop -J 3` sometimes (once per 5 or so tries) runs
|
||||
2 ssh processes both prompting at once. For example:
|
||||
|
||||
21555 pts/3 S+ 0:00 | \_ ssh localhost -S .git/annex/ssh/localhost -o ControlMaster=auto -o ControlPersist=yes -T git-annex-shell 'lockcontent' '/~/tmp/b/a' 'SHA256E-s30--ec748fe42378798b82ddf4e6b3e778a0cbc5d76d458685af01dc1f09cc423eb7' --uuid ad19d177-519e-4440-a9c9-0c9cddd99db2
|
||||
21556 pts/3 S+ 0:00 | \_ ssh localhost -S .git/annex/ssh/localhost -o ControlMaster=auto -o ControlPersist=yes -n -T git-annex-shell inannex .
|
||||
|
||||
The inannex is what's used to bring up the ssh connection, so
|
||||
I don't immediately understand how the lockcontent could run before
|
||||
the ssh connection is brought up.
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue