Skip to content

Instantly share code, notes, and snippets.

@bols-blue
Created March 22, 2015 14:12
Show Gist options
  • Save bols-blue/a6a52ff9a388f2ed0037 to your computer and use it in GitHub Desktop.
Save bols-blue/a6a52ff9a388f2ed0037 to your computer and use it in GitHub Desktop.
windows ansible
$ ssh-agent.exe bash
bols@WIN-PJMTR139R3V ~
$ ssh-add ~/.ssh/
id_rsa id_rsa.pub known_hosts
bols@WIN-PJMTR139R3V ~
$ ssh-add ~/.ssh/id_rsa
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0775 for '/home/bols/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
chmod 700 -R .ssh
ERROR: The file ansible/hosts is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with `chmod -x ansible/hosts`.
chmod -x ansible/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment