I have KIE Workbench deployed on Minishift instance. I want to clone the repository.
First of all I know, I should make ssh port reachable. To do this I use the following command:
$ oc port-forward workbench-1-vfd6k 8001:8001
To check the port exposed as expected, I use 'telnet' and able to observe sshd working:
$ telnet localhost 8001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-SSHD-CORE-1.6.0
So far, so good. However, actual cloning doesn't work:
$ git clone ssh://admin@localhost:8001/myrepo
Cloning into 'myrepo'...
Warning: Permanently added '[localhost]:8001' (DSA) to the list of known hosts.
ssh_dispatch_run_fatal: Connection to 127.0.0.1 port 8001: incorrect signature
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Does anybody know how to fix the issue?