servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r750476 - /servicemix/smx4/kernel/trunk/gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ConnectCommand.java
Date Thu, 05 Mar 2009 15:34:49 GMT
Author: gnodet
Date: Thu Mar  5 15:34:48 2009
New Revision: 750476

URL: http://svn.apache.org/viewvc?rev=750476&view=rev
Log:
Fix the admin/connect command

Modified:
    servicemix/smx4/kernel/trunk/gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ConnectCommand.java

Modified: servicemix/smx4/kernel/trunk/gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ConnectCommand.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ConnectCommand.java?rev=750476&r1=750475&r2=750476&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ConnectCommand.java
(original)
+++ servicemix/smx4/kernel/trunk/gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ConnectCommand.java
Thu Mar  5 15:34:48 2009
@@ -37,7 +37,7 @@
 
     protected Object doExecute() throws Exception {
         int port = getExistingInstance(instance).getPort();
-        ShellContextHolder.get().getShell().execute("remote/ssh -l " + username + " -P "
+ password + " -p " + port + " localhost");
+        ShellContextHolder.get().getShell().execute("ssh -l " + username + " -P " + password
+ " -p " + port + " localhost");
         return Result.SUCCESS;
     }
 }



Mime
View raw message