Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load pubkey "/github/home/.ssh/deploykey": invalid format #11

Open
manuelmeurer opened this issue Aug 19, 2021 · 4 comments
Open

load pubkey "/github/home/.ssh/deploykey": invalid format #11

manuelmeurer opened this issue Aug 19, 2021 · 4 comments
Labels

Comments

@manuelmeurer
Copy link

I get the error (warning?) load pubkey "/github/home/.ssh/deploykey": invalid format during syncing.
The sync seems to succeed regardless, though.

Full output:

[...]
==============================================
✅ Successfully executed commands to all host.
==============================================
🔄 Sync the mysql backups... 🗄
load pubkey "/github/home/.ssh/deploykey": invalid format
Warning: Permanently added '207.154.209.XXX' (ECDSA) to the list of known hosts.
receiving incremental file list
mysql-ghost_production.1908211222.sql.gz

              0   0%    0.00kB/s    0:00:00  
        616.55K 100%    1.25MB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 51 bytes  received 603.34K bytes  172.40K bytes/sec
total size is 616.55K  speedup is 1.02
🤔 Whats the location of backups...
/github/workspace/backups
🔍 Show me backups... 😎
total 604K   
-rw-r--r--    1 ***     ***      602.1K Aug 19 12:22 mysql-ghost_production.1908211222.sql.gz
@dr5hn
Copy link
Collaborator

dr5hn commented Nov 14, 2021

@manuelmeurer It's because,
You must be adding an id_rsa.pub key, You should add a private key file id_rsa.

@manuelmeurer
Copy link
Author

I pass in my private SSH key with the key keyword.
Since the sync works, I'm pretty sure the format of the key is fine.

@manuelmeurer
Copy link
Author

Where is this "invalid format" message generated? I couldn't find it in the code of this action.

@dr5hn
Copy link
Collaborator

dr5hn commented Nov 27, 2021

That's generated on your server end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants