[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] tunneling with fab
From: |
Stroehmann, James |
Subject: |
Re: [Fab-user] tunneling with fab |
Date: |
Wed, 27 Feb 2013 20:31:53 +0000 |
I set these in my ~/.ssh/config
StrictHostKeyChecking no
CheckHostIP no
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Calvin
Sent: Wednesday, February 27, 2013 3:29 PM
To: address@hidden
Subject: [Fab-user] tunneling with fab
I have two freshly installed nix boxes I want to automate configuration of. I
start on my box with fabric installed, neither of the freshboxes have fabric
available.
to gain control of the second box i manually ssh to the first then ssh to the
second to drop iptables.
The problem is this operation fails with fabric saying "err: Host key
verification failed."
my fab file has the following
def drop_iptables_on_managed_host(ip='192.16.1.2'):
print ("droping iptables on host "+ip)
run(command='ssh '+ip+' service iptables stop')
is there a way to have this autoaccept the key from the first host when
connecting to the second.
--
Calvin
address@hidden
--
http://www.fastmail.fm - Send your email first class
_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user