diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2006-07-27 17:01:41 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2006-07-27 17:01:41 +0000 |
commit | 2122700327f41f35b904af51d2947f19450608e8 (patch) | |
tree | 3d38d0ec3b1449baf42e13f607ff7f18f4b9bffe | |
parent | 60bb89a903345405a287985bdfcb515c8be2a714 (diff) |
Use the option "-x" when calling ssh. Otherwise it may try to forward an
X11 connection, which may not exist.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@105 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r-- | src/portal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portal.cc b/src/portal.cc index a4d3606..1b069f7 100644 --- a/src/portal.cc +++ b/src/portal.cc @@ -311,7 +311,7 @@ namespace Formaline ostringstream cmdbuf; if (my_use_relay_host) { - cmdbuf << "ssh " << my_relay_host << " '" + cmdbuf << "ssh -x " << my_relay_host << " '" << "cd " << cwd << " && "; } cmdbuf << scriptfilenamestr << " < /dev/null > /dev/null 2> /dev/null"; |