[nautilus-open-terminal] Fix remote SSH terminal with non-standard ports.



commit 29f2eea6260798021f7d93bfc5bfc9635b9df742
Author: Christian Neumair <cneumair gnome org>
Date:   Sun Aug 9 14:37:25 2009 +0200

    Fix remote SSH terminal with non-standard ports.
    
    When fixing the nested shell quotation (commit f1789425df12e054fa0b2407f7df861d98059599), the previously applied fix for non-standard SSH ports (commit a883bd21b62065c54e22bb5e400b2aa01306a68f) was lost. Fixes #590938. Thanks to Vincent Untz.

 src/nautilus-open-terminal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-open-terminal.c b/src/nautilus-open-terminal.c
index 1d89abc..f19cfd0 100644
--- a/src/nautilus-open-terminal.c
+++ b/src/nautilus-open-terminal.c
@@ -218,7 +218,7 @@ get_remote_ssh_command (const char *uri,
 
 	quoted_remote_command = g_shell_quote (remote_command);
 
-	command = g_strdup_printf ("ssh %s -t %s", user_host, quoted_remote_command);
+	command = g_strdup_printf ("ssh %s%s -t %s", user_host, port_str, quoted_remote_command);
 
 	g_free (user_name);
 	g_free (user_host);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]