Code Monkey home page Code Monkey logo

Comments (5)

jzweifel avatar jzweifel commented on July 23, 2024 4

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.

from akr.

shanewilson avatar shanewilson commented on July 23, 2024

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

from akr.

kevinchow avatar kevinchow commented on July 23, 2024

You have to remove kr installation before installing akr, at this moment most servers don't support [email protected] key (bitbucket, EC2, etc...) so it is almost useless at this point.

from akr.

nikhilty avatar nikhilty commented on July 23, 2024

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.

from akr.

nikhilty avatar nikhilty commented on July 23, 2024

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.

from akr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.