Skip to content

Commit 44cfbaf

Browse files
committed
no strict
1 parent 8da2d12 commit 44cfbaf

9 files changed

+9
-9
lines changed

unix/display_remote_log_in_go_console.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ keywords: log, remote
77
-->
88
<exec command="/bin/bash">
99
<arg>-c</arg>
10-
<arg>ssh -o StrictHostKeyChecking=no remote-user@remote-server 'cat /var/log/dest/dir/x.log'</arg>
10+
<arg>ssh remote-user@remote-server 'cat /var/log/dest/dir/x.log'</arg>
1111
</exec>

unix/launch_server_and_return.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ moreinfo: http://superuser.com/questions/449193/nohup-over-ssh-wont-return
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>ssh -o StrictHostKeyChecking=no localhost 'nohup server.sh >/path/to/server.log 2>&amp;1 &amp;'</arg>
11+
<arg>ssh localhost 'nohup server.sh >/path/to/server.log 2>&amp;1 &amp;'</arg>
1212
</exec>

unix/scp.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ keywords: scp, cp, copy, ftp
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>scp -o StrictHostKeyChecking=no source-file user@dest-server:/dest-directory</arg>
11+
<arg>scp source-file user@dest-server:/dest-directory</arg>
1212
</exec>

unix/ssh_run_and_return.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ keywords: ssh
77
-->
88
<exec command="/bin/bash">
99
<arg>-c</arg>
10-
<arg>ssh -o StrictHostKeyChecking=no server 'cd /to/dest/dir;script.sh'</arg>
10+
<arg>ssh server 'cd /to/dest/dir;script.sh'</arg>
1111
</exec>

virtual/vagrant_halt.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ authorinfo: http://support.thoughtworks.com/categories/20002778-go-community-sup
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>ssh -o StrictHostKeyChecking=no remote-node 'cd /to/vagrant/dir;vagrant halt vm-name'</arg>
11+
<arg>ssh remote-node 'cd /to/vagrant/dir;vagrant halt vm-name'</arg>
1212
</exec>

virtual/vagrant_provision.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ authorinfo: http://support.thoughtworks.com/categories/20002778-go-community-sup
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>ssh -o StrictHostKeyChecking=no remote-node 'cd /to/vagrant/dir;vagrant provision vm-name'</arg>
11+
<arg>ssh remote-node 'cd /to/vagrant/dir;vagrant provision vm-name'</arg>
1212
</exec>

virtual/vagrant_reload.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ authorinfo: http://support.thoughtworks.com/categories/20002778-go-community-sup
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>ssh -o StrictHostKeyChecking=no remote-node 'cd /to/vagrant/dir;vagrant reload vm-name'</arg>
11+
<arg>ssh remote-node 'cd /to/vagrant/dir;vagrant reload vm-name'</arg>
1212
</exec>

virtual/vagrantup.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ authorinfo: http://support.thoughtworks.com/categories/20002778-go-community-sup
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>ssh -o StrictHostKeyChecking=no remote-node 'cd /to/vagrant/dir;vagrant up vm-name'</arg>
11+
<arg>ssh remote-node 'cd /to/vagrant/dir;vagrant up vm-name'</arg>
1212
</exec>

virtual/vbox_list.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ authorinfo: http://support.thoughtworks.com/categories/20002778-go-community-sup
88
-->
99
<exec command="/bin/bash">
1010
<arg>-c</arg>
11-
<arg>ssh -o StrictHostKeyChecking=no remote-node 'VBoxManage list -l vms'</arg>
11+
<arg>ssh remote-node 'VBoxManage list -l vms'</arg>
1212
</exec>

0 commit comments

Comments
 (0)