Created
August 17, 2009 00:30
-
-
Save fapestniegd/168822 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# code | |
print STDERR "ssh -o StrictHostKeyChecking=no root\@$self->{'ipaddress'} $remote_command\n"; | |
system qq(ssh -o StrictHostKeyChecking=no root\@$self->{'ipaddress'} \'$remote_command\'); | |
# output | |
ssh -o StrictHostKeyChecking=no [email protected] umask 377 && echo oHkKEaSbmEKmcYEG > /etc/ldap/ldap.secret | |
Warning: Permanently added the RSA host key for IP address '174.129.2.73' to the list of known hosts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment