| Summary: | Autentication fails when attempting to connect to download1.eclipse.org using SSH | ||
|---|---|---|---|
| Product: | Community | Reporter: | Dimitris Kolovos <dkolovos> |
| Component: | Servers | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Using password-based authentication in an ant task is probably nasty. You will likely have much more success (and security) by implementing keyed authentication. This is very easy to set up, and by using keys, you won't need to expose your password in a script. This seems to explain the setup quite nicely: http://www.petefreitag.com/item/532.cfm Thanks Denis. I tried again today and I can't reproduce this problem so I suspect it was just our local network acting up. Regarding security and exposing stuff, I'm using the ANT <input> task to get the name/password at runtime so that I don't have to store them in the ANT script (and share them with the world). |
I'm trying to implement an ANT script to automate the process of updating our project's (GMT Epsilon) interim update site. I'm using the sshexec ANT task and I've noticed that the first time I connect and run a command, e.g.: <sshexec host="${server}" username="${user}" password="${password}" command="ls" trust="true"/> it is executed fine, but then I need to wait for a minute or two before I can reconnect to the server (getting "authentication failed" error messages in-between). I've found that the same happens with Filezilla (SFTP using SSH2): I connect to the server, disconnect, and then cannot connect again for a couple of minutes. Is this the intended behaviour (e.g. a security measure)?