***@***: Permission denied (publickey).
knynkwl opened this issue · comments
Kenyon Kowal commented
Does the key
need to be the contents of the ~/.ssh/id_rsa.pub
on your local machine?
Load key "/github/home/.ssh/deploy_key": invalid format
***@***: Permission denied (publickey)
Kenyon Kowal commented
- name: ls -a via ssh
uses: fifsky/ssh-action@master
with:
host: ${{ secrets.FORGE_HOST }}
user: ${{ secrets.FORGE_USERNAME }}
port: 22
key: "${{ secrets.SSH_PRIVATE_KEY}}"
command: |
ls -a
Xudong Cai commented
key is private ~/.ssh/id_rsa
Yakov Litvin commented
Could you please explain what exactly were you doing wrong and how did you fix it? I'm trying to use private key (from ~/.ssh/id_rsa
) as a secret passed to key
, but I do get the
@: Permission denied (publickey).
error message