Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Auto Closed
-
1.0-beta-5
-
None
-
None
Description
This isn't directly a wagon problem, but it was a problem with the older Jsch. Newer versions of OpenSSH can be told to hash the host names in the known_hosts file... There is some information on the 'net about the file format, example link - http://nms.csail.mit.edu/projects/ssh/install40-other.php. Although I have never had a problem before, I ran a bare-metal install of Ubuntu Jaunty earlier in the week and they have this option turned on by default. Since this was a new machine, all of the entries in known_hosts were hashed. This means, you try to deploy an artifact using wagon-ssh and you will get prompted since authenticity can't be verified. There is info on the Jsch home page that says that later versions (0.4.1?) support hashed known_hosts. I tried updating the pom.xml file to use a newer Jsch, and all of the unit tests pass. There is also a nabble thread here (where I converse with myself) about the issue -
http://n2.nabble.com/release%3Aperform-problem-with-ssh-scp-td2734566.html#none
I'm not going to attach a patch, since all that I have tried to do is update the pom, I haven't done proper testing.