Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Response was never received #25

Closed
acevif opened this issue Sep 29, 2022 · 7 comments
Closed

Error: Response was never received #25

acevif opened this issue Sep 29, 2022 · 7 comments

Comments

@acevif
Copy link

acevif commented Sep 29, 2022

Recently Akamai MFA is not working for a few days in my environment.
Is this happening only for me?

phenomenon

$ akr check
Error: Response was never received
$ ssh ssh.demo.krypt.co -p 5000
kex_exchange_identification: read: Connection reset by peer
Connection reset by 2a09:8280:1::3:f7 port 5000

environment

macOS

$ akr --version
akr - Akamai Krypton 1.0

iOS

Akamai MFA v1.6.0.7

@andriisemenov-emma
Copy link

@acevif Did you manage to resolve it?

@acevif
Copy link
Author

acevif commented Feb 5, 2023

@andriisemenov-emma No.
I gave up because I couldn't resolve it.

@nikhilty
Copy link
Collaborator

nikhilty commented Feb 6, 2023

@andriisemenov-emma @acevif Are you using the latest 1.1.1 version of AKR?

@andriisemenov-emma
Copy link

andriisemenov-emma commented Feb 6, 2023

yes,
akr --version
akr - Akamai Krypton 1.1.1

@acevif
Copy link
Author

acevif commented Feb 13, 2023

@nikhilty I was using 1.0 but I've already uninstalled it.
I will try it again when I have free time.

@clifbromley
Copy link

@nikhilty I am experiencing similar behaviour with AKR 1.1.1 after upgrading from MacOS Monterey (12.6.3) to Ventura (13.2).

In my case, akr check works:
akr check
You're all set!

However, connecting to the demo ssh server fails:
ssh ssh.demo.krypt.co -p 5000
kex_exchange_identification: read: Connection reset by peer
Connection reset by 213.188.209.187 port 5000

I am also unable to connect to github.com:
git push
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

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

My ~/.ssh/config file contains:
# Begin Akamai MFA SSH Config
Host *
IdentityAgent /Users/<my-username>/.akr/akr-ssh-agent.sock
# End Akamai MFA SSH Config

I have Akamai MFA v1.12.0 running on Android 13. akr status shows that it is paired with my Mac, both the app and akr load show my SSH key, and the key is added to my GitHub account.

All of this was working correctly before upgrading to MacOS Ventura.

I have uninstalled AKR, deleted the related files (~/.akr), rebooted, and reinstalled without success.

Do you have any ideas for troubleshooting this?

@nikhilty
Copy link
Collaborator

nikhilty commented Apr 10, 2023

@nikhilty I am experiencing similar behaviour with AKR 1.1.1 after upgrading from MacOS Monterey (12.6.3) to Ventura (13.2).

In my case, akr check works: akr check You're all set!

However, connecting to the demo ssh server fails: ssh ssh.demo.krypt.co -p 5000 kex_exchange_identification: read: Connection reset by peer Connection reset by 213.188.209.187 port 5000

I am also unable to connect to github.com: git push git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

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

My ~/.ssh/config file contains: # Begin Akamai MFA SSH Config Host * IdentityAgent /Users/<my-username>/.akr/akr-ssh-agent.sock # End Akamai MFA SSH Config

I have Akamai MFA v1.12.0 running on Android 13. akr status shows that it is paired with my Mac, both the app and akr load show my SSH key, and the key is added to my GitHub account.

All of this was working correctly before upgrading to MacOS Ventura.

I have uninstalled AKR, deleted the related files (~/.akr), rebooted, and reinstalled without success.

Do you have any ideas for troubleshooting this?

It looks like security keys is disabled in MacOS openssh distribution by default. Please follow below steps and try again

Use Homebrew's OpenSSH
$ brew install openssh

Once installed, you have to override the one in your PATH by putting the openssh folder at the beginning of your PATH in your rc file like this
$ export PATH=$(brew --prefix openssh)/bin:$PATH

Let me know if you face any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants