Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

wagon ssh corrupts known_hosts?

$
0
0
I have a step release process.

Step 1 uses maven and the wagon-ssh plugin to push .debs and .jars to my
maven and debian repositories via SSH and the scp:// wagon which uses jSch.

Step 2 uses ansible and SSH via OpenSSH… this is the step that breaks now
because jSch writes a new known_hosts file. SSH then prompts me every time
to accept the new host key.

This is prone to error and I want to fix it.. I do releases in ‘screen’
and if I forget to come back 5 minutes later to type ‘yes’ for all my hosts
it breaks the release.

Plus I want it automated for obvious reasons.

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Viewing all articles
Browse latest Browse all 5648

Trending Articles