Skip to main content
added 19 characters in body
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204
debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

TheseAbove lines suggest that .ssh/id_rsa andexists (type 1), but its public key (.ssh/id_rsa-cert.pub files) for the user doesn't existor got some problems (type -1).

MakeSo make sure the file /home/gitlab-runner~/.ssh/id_rsa exists and its, has 600 permission, is owned by the user. And the gitlab-runner~/.ssh/id_rsa.pub usermatches/belongs to the same identity (as per this post).

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; wc -l .ssh/id_rsa; stat .ssh/id_rsa; head -n1 .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa and .ssh/id_rsa-cert files for the user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; wc -l .ssh/id_rsa; stat .ssh/id_rsa; head -n1 .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory

Above lines suggest that .ssh/id_rsa exists (type 1), but its public key (.ssh/id_rsa.pub) for the user doesn't or got some problems (type -1).

So make sure the file ~/.ssh/id_rsa exists, has 600 permission, is owned by the user. And the ~/.ssh/id_rsa.pub matches/belongs to the same identity (as per this post).

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; wc -l .ssh/id_rsa; stat .ssh/id_rsa; head -n1 .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

added 19 characters in body
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204
debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa and .ssh/id_rsa-cert files for the user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; pwd; wc -l .ssh/id_rsa; stat .ssh/id_rsa; head -n1 .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa and .ssh/id_rsa-cert files for the user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; pwd; wc -l .ssh/id_rsa; stat .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa and .ssh/id_rsa-cert files for the user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; wc -l .ssh/id_rsa; stat .ssh/id_rsa; head -n1 .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

deleted 16 characters in body
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204
debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa for theand gitlab.ssh/id_rsa-runnercert files for the user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; pwd; wc -l .ssh/id_rsa; stat .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa for the gitlab-runner user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; pwd; wc -l .ssh/id_rsa; stat .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

debug1: identity file /home/gitlab-runner/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gitlab-runner/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory

These lines suggest that .ssh/id_rsa and .ssh/id_rsa-cert files for the user doesn't exist.

Make sure the file /home/gitlab-runner/.ssh/id_rsa exists and its owned by the gitlab-runner user.

Here is a simple test to run as a sudo access user (e.g. root):

sudo -u gitlab-runner sh -c 'cd; pwd; wc -l .ssh/id_rsa; stat .ssh/id_rsa'

See also: What does "key_load_public: no such file or directory" mean?

deleted 2 characters in body
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204
Loading
added 10 characters in body
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204
Loading
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204
Loading