Info
-
Version: 0.15.1
-
Authentication:
-
Key Type:
-
Key Format:
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.pem
Running 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=0
Info
Version: 0.15.1
Authentication:
Key Type:
Key Format:
Problem / Steps to reproduce
When using
identity_fileonsake.yaml,sake sshwon't use the identity file.Content of
sake.yaml:Running
sake ssh srv1will result in failed authentication, whilesake run ping -s srv1is OK.