[Swift-commit] Cog update

swift at ci.uchicago.edu swift at ci.uchicago.edu
Sat Feb 4 20:15:03 CST 2012


------------------------------------------------------------------------
r3358 | hategan | 2012-02-04 20:14:07 -0600 (Sat, 04 Feb 2012) | 1 line

removed username and key attribute use; .ssh/config should be used for those
------------------------------------------------------------------------
Index: modules/provider-ssh/src/org/globus/cog/abstraction/impl/sshcl/execution/JobSubmissionTaskHandler.java
===================================================================
--- modules/provider-ssh/src/org/globus/cog/abstraction/impl/sshcl/execution/JobSubmissionTaskHandler.java	(revision 3357)
+++ modules/provider-ssh/src/org/globus/cog/abstraction/impl/sshcl/execution/JobSubmissionTaskHandler.java	(working copy)
@@ -49,17 +49,7 @@
         
         List<String> cmdarray = new ArrayList<String>();
         cmdarray.add(ssh);
-
-        if (spec.getAttribute("username") != null) {
-            cmdarray.add("-l");
-            cmdarray.add(spec.getAttribute("username").toString());
-        }
         
-        if (spec.getAttribute("key") != null) {
-            cmdarray.add("-i");
-            cmdarray.add(spec.getAttribute("key").toString());
-        }
-        
         if (service.getServiceContact().getPort() > 0) {
             cmdarray.add("-p");
             cmdarray.add(String.valueOf(service.getServiceContact().getPort()));



More information about the Swift-commit mailing list