Skip to content

Instantly share code, notes, and snippets.

@djanatyn
Created September 23, 2014 05:29
Show Gist options
  • Save djanatyn/7d9258f747193e3e9558 to your computer and use it in GitHub Desktop.
Save djanatyn/7d9258f747193e3e9558 to your computer and use it in GitHub Desktop.
[jstrickland@ip-10-0-1-16]~% sudo -u deploy deploy_site qa-rhea 10.0.3.222 10.0.3.48
Making ssh link to tomcat; please wait.
Running -- ls -l /etc/hosts -- on the tomcat server.
Output: -- Warning: Permanently added '[localhost]:11075' (RSA) to the list of known hosts.
-rw-r--r--. 1 root root 212 Sep 19 13:29 /etc/hosts
--
ssh link to tomcat succeeded.
Making ssh link to mysql; please wait.
Running -- ls -l /etc/hosts -- on the mysql server.
/usr/local/bin/deploy_site:69:in `run': ssh command failed: exit value: 254; output: Warning: Permanently added '[localhost]:11012' (RSA) to the list of known host (StandardError)
from /usr/local/bin/deploy_site:248:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment