Abnormal Disconect - iOS

Core Shell has been working great for me on my MacBook so I installed the iOS version. It's syncing via iCloud and I've added my keys to the app. Two of the servers work great but I've always received a 'Abnormal Disconnect' on the third.

This is the log:

Equivalent Command: ssh -i /private/var/mobile/Containers/Shared/AppGroup/41BE8BDF-F8B1-4DAE-81FF-966AF2D820B5/.ssh/KEY -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o ServerAliveInterval=15 -o CertificateFile=/private/var/mobile/Containers/Shared/AppGroup/41BE8BDF-F8B1-4DAE-81FF-966AF2D820B5/.ssh/KEY -p 37980 root@XXX.XXX.XX.X
18:52:39 Connecting...
18:52:39 Authenticating...
18:52:39 root@XXX.XXX.XX.X: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
18:52:39 Abnormal Disconnect

Hi John,

Could you please change profile settings, enable Debug Logging and reconnect the server, then paste the desensitized debug log? This would help me identify the issue.

Kind Regards,

Yang

Hi @yang --

Thanks so much, I should have done the debug log in the first place. It looked like a permissions error, so I deleted the keys on my device and resent/re-added them. That didn't immediately fix, but I think originally I had set up my desktop to use the wrong key and that's the one that was synced in iCloud (or persisted) so I did the same thing on desktop - removed and re-added the keys and that seemed to have fixed the issue and now it's working just fine on both desktop and iOS.

In the end not a problem with the app I think - thank you for the reply and for now I'll leave on the debug logging just in case. :grinning:

1 Like