1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

* add question

This commit is contained in:
shimataro 2020-01-26 14:46:56 +09:00
parent 434bfcf5cd
commit 7b98407633
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -76,6 +76,18 @@ steps:
## FAQ
### SSH failed even though installed key.
Check belows:
* `Load key "/HOME/.ssh/id_rsa": invalid format`:
* OPENSSH format (key begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work.
* Use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`).
* `Host key verification failed.`:
* Set `known-hosts` option or use `ssh -o StrictHostKeyChecking=no`.
* The former is **HIGHLY** recommended for security reason.
* I'm planning to make `known-hosts` required in v2.
### What is the best way for copying files; SCP / SCP via bastion / SFTP / SFTP via bastion / rsync / rsync via bastion
I recommend **rsync via bastion**.