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

Cannot setup #9

Closed
rtfpessoa opened this issue Nov 28, 2021 · 5 comments · May be fixed by #11
Closed

Cannot setup #9

rtfpessoa opened this issue Nov 28, 2021 · 5 comments · May be fixed by #11

Comments

@rtfpessoa
Copy link

rtfpessoa commented Nov 28, 2021

Hello 👋,

Trying to migrate from kr to akr but getting an error.

Using an M1 mac with an iphone, not sure if this can be the reason to the error.

> akr setup
Error: File IO error: 'No such file or directory (os error 2)'

If I forget about do the setup manually by adding the needed part in .ssh/config by hand and start akr start,
pair works but if I try to generate a key I get:

Today seems like if I start the daemon and generate a key it is working nice, but setup is still broken.

> akr start
> akr generate --name ssh
@shanewilson
Copy link

I think I bypassed this by adding the directory ~/Library/LaunchAgents which didn't exist on my new Monterey install.

Found in the code here:
https://github.com/akamai/akr/blob/master/crates/kr/src/launch.rs#L64-L71

@kevinchow
Copy link

You have to remove kr installation before installing akr, at this moment most servers don't support sk-ecdsa-sha2-nistp256@openssh.com key (bitbucket, EC2, etc...) so it is almost useless at this point.

@jzweifel
Copy link

jzweifel commented Jan 31, 2022

I ran into this same problem (Error: File IO error: 'No such file or directory (os error 2)'). In my case, I was on a brand new install of WSL, and ~/.ssh/config did not yet exist. When I created the file, akr setup completed just fine.

@nikhilty
Copy link
Collaborator

I ran into this same problem (Error: File IO error: 'No such file or directory (os error 2)'). In my case, I was on a brand new install of WSL, and ~/.ssh/config did not yet exist. When I created the file, akr setup completed just fine.

Glad that worked fine for you.

@nikhilty
Copy link
Collaborator

Hello 👋,

Trying to migrate from kr to akr but getting an error.

Using an M1 mac with an iphone, not sure if this can be the reason to the error.

> akr setup
Error: File IO error: 'No such file or directory (os error 2)'

If I forget about do the setup manually by adding the needed part in .ssh/config by hand and start akr start, pair works but if I try to generate a key I get:

Today seems like if I start the daemon and generate a key it is working nice, but setup is still broken.

> akr start
> akr generate --name ssh

you can use akr setup --ssh-config-path <ssh_config_file_path> to configure the ssh config and it will start the daemon as well. 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

Successfully merging a pull request may close this issue.

5 participants