ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: sshexec with keyfile
Date Fri, 19 Aug 2005 13:43:43 GMT
Mark Lybarger wrote:
> i'm trying to use sshexec with a keyfile. i generated a key on the remote 
> server using the ssh-keygen -t dsa. this gave me a ~/.ssh/id_dsa and 
> ~/.ssh/ i pulled the file to the remote machine from 
> where i want to run the sshexec task. i put the file into the 

> D:\dev\workspace\autodeploy\build.xml:687: com.jcraft.jsch.JSchException: 
> id_dsa (The system cannot find the file 
> specified)

you need to set the remote key to the location of the private key you 
use for a connection.  you cannot make a connection with the public key; 
you cannot assume that <scp> will know to look into ~/.ssh, because it 

<property name="remote.key" value="" />

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message