Used Import but did not work


(Bob Wenzlau) #1

I exported from SSH Tunnel and then imported, and tried to connect, and it failed. (permission denied - public key)

I have a public key - not a private key. This is not really my deep capability - why I used your tool - so was expecting seemless migration between your two products.

Ok, so now what do I do?


(Yang.Y) #2

Firstly, you must import the key, the file you have used in SSH Tunnel:

Then, in tunnel’s settings, force the tunnel use the imported key:


(Bob Wenzlau) #3

I am baffled, it is the same key - works in the SSH Tunne, but not with Core Tunnel. I did everything you said.


(Yang.Y) #4

Could you please set the Log Level to DEBUG3 and paste the connection log here?


(Bob Wenzlau) #5

Equivalent Command: ssh -T -N -F “/Users/bwenzlau/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/config” -i “/Users/bwenzlau/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/privatekey/terradex_aws.pem” -L local:22:52.37.27.6:22 -o ExitOnForwardFailure=yes ubunto@52.37.27.6

20:27:12 Connecting…

20:27:12 Privileged ports can only be forwarded by root.

20:27:12 Abnormal Disconnect

20:27:12 Connection failed, retry after 3s…


(Yang.Y) #6

Could you please send me a screenshot of the host in SSH Tunnel? It seems your configuration was not migrated correctly.


(Bob Wenzlau) #7


(Yang.Y) #8

Please change the host settings in Core Tunnel according to the screenshot:
image


(Bob Wenzlau) #9

I now get this. Again this works fine with SSH Tunnel


(Yang.Y) #10
  1. Please upgrade Core Tunnel to latest version (1.3.4), it seems you use an older version
  2. Delete this file: /Users/yang/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/known_hosts
  3. Change local to localhost in the screenshot:
    image

(Bob Wenzlau) #11

How do you upgrade - not intuitive (no upgrade button). No website etc.


(Yang.Y) #12

You can follow this article to upgrade apps in your Mac:


(Bob Wenzlau) #13


(Bob Wenzlau) #14

got it! deleted the old record (in the app) and created new.


(Yang.Y) #15

Good to know that :smiley: