Skip to content

"Could not fetch host key", but it works. #1989

Open
@axkibe

Description

What happened:

When trying to add git repository "Own Server" I get "could not fetch host key"

15:39:33 Auth | Fetching host key for git.csc.univie.ac.at
15:39:33 Cmd | ssh-keyscan -t rsa -p 22 git.csc.univie.ac.at
15:39:33 Auth | Could not fetch host key
15:39:34 Fetcher | Failed

If i run the ssh-keyscan command in a shell I get:

# git.csc.univie.ac.at:22 SSH-2.0-OpenSSH_8.8
git.csc.univie.ac.at ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBh8BirvED82gmm0rRBCKZvOGXCwi2EZTNe45q7+LZWAXb49XdxeGyiLZGGAFy7wvkc6jqE9RqEGz0KxyeuCpju41p/ykScHGNeM6cZjZ/Pu1zx/1oiVR/FsaNKpWFoeNRixQ2VIBGWvb2Ne6bipCzR3p/EuPOEU8sbG2HiiFlpmYWc8apblWnHA36J8II8qgK2/daHyf9SKGpY+58v/ozQ37wS7IMtCjMrQFj3O2vNYqLzJD5p1yvxJldn86JT+D/lXs750umSyrRGVPzG3FsZde8qSQL9VdF0qdZcxuLh5yhZ2rf2A6Eg6Gha5HepO6avuqFLQZaG5jwIaEyOMvz

So it works? No idea why SparkleShare thinks the string is invalid/null etc. (I looked in the code which I assume it thinks it is?)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions