From 57b278975fbea2083f89c7a4711e37d2552abfd7 Mon Sep 17 00:00:00 2001 From: shimataro Date: Tue, 23 Feb 2021 10:17:14 +0900 Subject: [PATCH] update README --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 818d3b0..879a7e3 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,7 @@ Useful for SCP, SFTP, and `rsync` over SSH in deployment script. Add your SSH key to your product secrets by clicking `Settings` - `Secrets` - `Add a new secret` beforehand. -**NOTE:** OPENSSH format (key begins with `-----BEGIN OPENSSH PRIVATE KEY-----`) may not work due to OpenSSH version on VM. -Please use PEM format (begins with `-----BEGIN RSA PRIVATE KEY-----`) instead. -In order to convert your key inline to PEM format simply use `ssh-keygen -p -m PEM -f ~/.ssh/id_rsa`. +PEM(RSA), PKCS8, and RFC4716(OpenSSH) formats are OK. ```yaml runs-on: ubuntu-latest @@ -85,9 +83,6 @@ steps: Check below: -* `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-----`). Convert it from OPENSSH format using `ssh-keygen -p -m PEM -f ~/.ssh/id_rsa` * `Host key verification failed.`: * Set `known_hosts` parameter correctly (use `ssh-keyscan` command).