ad-hoc ssh agent + control persist

Darren Tucker dtucker at zip.com.au
Mon Sep 23 19:04:40 EST 2013


On Sun, Sep 22, 2013 at 07:10:22PM +0200, Francois Durand wrote:
[...]
> One deployment needs several ssh connections. For obvious performance
> reasons using control persistance (ControlPersist=60 for instance) is
> highly desirable.
[...]
> Any ideas on this ?

use "ssh -Oexit" and "ssh-agent -k" to explicitly stop the connection
and agent as the last steps of your script?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list