commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Rossiter" <Stua...@htk.co.uk>
Subject [VFS] Known hosts checking for SFTP Ant tasks?
Date Fri, 07 Jul 2006 11:50:30 GMT
Hi.

 

   A potentially simple question but couldn't find anything on it
anywhere else on the Commons VFS site or archive.

 

I'm using the <v-copy> Ant task to a test STFP server on localhost
(freeFTPd on Windows XP). All connections fail (a 'could not connect to
SFTP server at "sftp://user:pwd@localhost/"' error), even though I can
connect fine via e.g. FileZilla.

 

I suspect that the issue may be the known_hosts file (or lack of), and
there are a few forum posts about this. However, in the "black box" Ant
task implementation, where is this checking for such a file (or is
strictHostKeyChecking off by default?). I have a known_hosts file (from
the FileZilla connection) in my Windows user home area and tried putting
this in various locations, but to no avail.

 

Any advice would be appreciated. In particular, is there no way to get
the full Java error trace, rather than just this generic error message?

 

Regards, Stuart

 

 


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. http://www.messagelabs.com
________________________________________________________________________
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message