backup-action
backup-action copied to clipboard
load pubkey "/github/home/.ssh/deploykey": invalid format
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
@manuelmeurer It's because,
You must be adding an id_rsa.pub
key, You should add a private key file id_rsa
.
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.
Where is this "invalid format" message generated? I couldn't find it in the code of this action.
That's generated on your server end.