Updated Branches:
  refs/heads/branch-0.8 3f732f722 -> 0cee7a7d8

WHIRR-680. Add python scripts to aid ssh/scp in to VMs. Contributed by Steve 
Loughran.


Project: http://git-wip-us.apache.org/repos/asf/whirr/repo
Commit: http://git-wip-us.apache.org/repos/asf/whirr/commit/0cee7a7d
Tree: http://git-wip-us.apache.org/repos/asf/whirr/tree/0cee7a7d
Diff: http://git-wip-us.apache.org/repos/asf/whirr/diff/0cee7a7d

Branch: refs/heads/branch-0.8
Commit: 0cee7a7d8de02e7c832b96adab451385ae3e1423
Parents: 3f732f7
Author: Tom White <[email protected]>
Authored: Tue Nov 20 11:10:42 2012 +0000
Committer: Tom White <[email protected]>
Committed: Tue Nov 20 11:13:08 2012 +0000

----------------------------------------------------------------------
 CHANGES.txt            |    3 +++
 contrib/scripts/scp-in |   22 ++++++++++++++++++++++
 contrib/scripts/ssh-in |   22 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/whirr/blob/0cee7a7d/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index b1edfdc..aa63b06 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -14,6 +14,9 @@ Release 0.8.2 (unreleased changes)
 
     WHIRR-679. Switch to HBase 0.94.2. (abayer via tomwhite)
 
+    WHIRR-680. Add python scripts to aid ssh/scp in to VMs.
+    (Steve Loughran via tomwhite)
+
 Release 0.8.1 - 2012-10-19
 
   NEW FEATURES

http://git-wip-us.apache.org/repos/asf/whirr/blob/0cee7a7d/contrib/scripts/scp-in
----------------------------------------------------------------------
diff --git a/contrib/scripts/scp-in b/contrib/scripts/scp-in
new file mode 100755
index 0000000..a33c7e3
--- /dev/null
+++ b/contrib/scripts/scp-in
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from subprocess import call
+import sys
+
+args = sys.argv[1:]
+call(["scp", "-o", "UserKnownHostsFile /dev/null", "-o", 
"StrictHostKeyChecking=no"] + args)

http://git-wip-us.apache.org/repos/asf/whirr/blob/0cee7a7d/contrib/scripts/ssh-in
----------------------------------------------------------------------
diff --git a/contrib/scripts/ssh-in b/contrib/scripts/ssh-in
new file mode 100755
index 0000000..baf2547
--- /dev/null
+++ b/contrib/scripts/ssh-in
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from subprocess import call
+import sys
+
+args = sys.argv[1:]
+call(["ssh", "-o", "UserKnownHostsFile /dev/null", "-o", 
"StrictHostKeyChecking=no"] + args)

Reply via email to