Skip to content

Instantly share code, notes, and snippets.

@ajithhub
Created September 27, 2013 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajithhub/97f0f9e168a8cd8363aa to your computer and use it in GitHub Desktop.
Save ajithhub/97f0f9e168a8cd8363aa to your computer and use it in GitHub Desktop.
(salt-virtualenv)[root@localhost salt]# cat /work/salt/master/master
pki_dir: /work/salt/master/pki
cachedir: /work/salt/master/cache
log_level: debug
ssh_key_deploy: False
[root@localhost master]# cat /work/salt/master/roster
pan:
host: pan
user: aantony
passwd: <redacted>
sudo: True
shawnee:
host: shawnee
user: root
passwd: <redacted>
sudo: False
(salt-virtualenv)[root@localhost salt]# salt-ssh -c /work/salt/master '*' test.ping
Permission denied for host shawnee, do you want to deploy the salt-ssh key?
[Y/n]y
Password for shawnee:
shawnee:
Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied (publickey,gssapi-with-mic,password).
Permission denied for host pan, do you want to deploy the salt-ssh key?
[Y/n]y
Password for pan:
pan:
Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment