ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh SSHBase.java
Date Tue, 11 Mar 2003 14:21:31 GMT
bodewig     2003/03/11 06:21:31

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ssh
                        SSHBase.java
  Log:
  No reason for a dummy passphrase.
  
  Pointed out by:	Atsuhiko Yamanaka <ymnk at jcraft dot com>
  
  Revision  Changes    Path
  1.3       +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java
  
  Index: SSHBase.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SSHBase.java	11 Mar 2003 13:15:43 -0000	1.2
  +++ SSHBase.java	11 Mar 2003 14:21:31 -0000	1.3
  @@ -195,7 +195,7 @@
       protected Session openSession() throws JSchException {
           JSch jsch = new JSch();
           if (null != userInfo.getKeyfile()) {
  -            jsch.addIdentity(userInfo.getKeyfile(), "passphrase");
  +            jsch.addIdentity(userInfo.getKeyfile());
           }
   
           if( knownHosts != null ) {
  
  
  

Mime
View raw message