Permalink
Browse files

WHIRR-680. Add python scripts to aid ssh/scp in to VMs. Contributed b…

…y Steve Loughran.
  • Loading branch information...
1 parent d7392d0 commit adf88711a5e8daf3d2e8ea6f1aab3e2542b08dc9 @tomwhite tomwhite committed Nov 20, 2012
Showing with 47 additions and 0 deletions.
  1. +3 −0 CHANGES.txt
  2. +22 −0 contrib/scripts/scp-in
  3. +22 −0 contrib/scripts/ssh-in
View
@@ -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
View
@@ -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)
View
@@ -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)

0 comments on commit adf8871

Please sign in to comment.