-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I have the latest version of sake
- I have searched through the existing issues
Info
- OS
- Linux
- Mac OS X
- Windows
- other
-
Version: 0.15.1
-
Authentication:
- Identity Key + Passphrase
- Identity Key
- Passphrase
- SSH Agent
-
Key Type:
- rsa
- ed25519
- other
-
Key Format:
- rfc4716
- pkcs8
- pem
Problem / Steps to reproduce
When using identity_file on sake.yaml, sake ssh won't use the identity file.
Content of sake.yaml:
disable_verify_host: true
servers:
srv1:
host: x.x.x.x
user: root
identity_file: private.pemRunning sake ssh srv1 will result in failed authentication, while sake run ping -s srv1 is OK.
sake ssh srv1
root@x.x.x.x: Permission denied (publickey).
sake run ping -s srv1
TASK [ping: Pong] *************************************************************************************************************************************************************
x.x.x.x | pong
RECAP *************************************************************************************************************************************************************************
x.x.x.x ok=1 unreachable=0 ignored=0 failed=0 skipped=0Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working