Hi !
> So the questions remains! In the "black box" Ant task implementation,
> where is the code looking for the known_hosts file (running on Windows
> XP)??
>   
The code is in VFSs SftpClientFactory class.
It will look for a ssh-dir by:
*) taking the system property vfs.sftp.sshdir
*) searching in ${user.home}/.ssh
*) searching in c:/cygwin/home/${user.name}/.ssh
*) use the current directory

The first existing directory will be used. Its assumed to find a
known_hosts file in this directory.

You can use the SftpFileSystemConfigBuilder to setup another directory
or to disable the host key checking (StrictHostKeyChecking), tough, this
cant be configured through the ant task.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to