[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Specifying known_hosts file for SVNAnt tasks

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-02-09 17:18:02 CET

On 2/9/07, Andrew R Feller <afelle1@lsu.edu> wrote:
>
> I am currently using svnant-1.0.0 release on a RHEL 4 box to checkout
> repositories from my Apache Ant build files. However, I am running the
> build files from an account that doesn't have a login shell (for very good
> reason), so the account doesn't have a .ssh/known_hosts file to authorize
> servers against. I want to use a custom /etc/ssh/ssh_known_hosts file for a
> central listing of authorized servers but don't see an option with SVNAnt to
> dictate known_hosts.
>
>
>
> Is there a way to dictate the known_hosts file to SVNAnt? ( This is an
> available feature of JCraft's jsch library for sshexec and scp tasks )
>

SVNAnt does not do the communications, it runs an SVN API. If you are using
the command line or JavaHL as the provider, then SSH is configured according
to the rules for Subversion. Usually, it would use your installed SSH
client which would have to be configured according to its rules.

If you use SVNKit, then it provides a Java SSH library (Ganymede). I am not
sure how it handles known hosts You could go to the SVNKit web site and
look for info or send them the question.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Fri Feb 9 17:18:11 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.