Skip to content

Trouble Shooting

David De Wulf edited this page Jan 6, 2020 · 2 revisions

Introduction

This page will contain issues that you may encounter.

SSH issue

Permission denied (publickey)

The commands mentioned in the steps must be typed into the terminal

  • Step 1: Print your ssh key: cat ~/.ssh/id_rsa.pub

If you don't have the file, create it: ssh-keygen

Hit enter for every prompt to use the system defaults.

Then print your ssh key (step 1)

  • Step2: Go to your Admin page and click on Manage SSH Keys

Copy and paste your ssh key within SSH Key input and click on create.

Now you should have access.


Possible Spoofing detected

Occurs when you try to ssh Sample error message:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for winenot.today has changed,
and the key for the corresponding IP address 167.172.219.166
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /Users/david/.ssh/known_hosts:3
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:FRrnYbV709BkEb6jqzX36ZqcFBTrvUZW8dZKy1vo08M.
Please contact your system administrator.
Add correct host key in /Users/david/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/david/.ssh/known_hosts:2
ECDSA host key for winenot.today has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Solution

Remove known_hosts file. Path is specified in the error message.


Clone this wiki locally