blob: b4eee92403fc0bff5b079bbc4f68b0a004467c67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/bash
DEST_IP=$1
HOSTNAME=$(hostname)
sshoptions="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
case "$INSTALLER_TYPE" in
fuel)
ssh $sshoptions -i ./config/QtipKey root@$DEST_IP "sed -i '/root@$HOSTNAME/d' /root/.ssh/authorized_keys"
;;
esac
|