Giter Club home page Giter Club logo

Comments (3)

KevinLiAWS avatar KevinLiAWS commented on July 17, 2024

Hi @timhammond, thank you for your feedback. We are looking into the root cause, meanwhile could you please try the following command to delete these directories/files and see if it works? Thanks.

sudo rm -rf "/Applications/Finch/lima/data/finch/"
sudo rm -rf "/Applications/Finch/lima/data/_config/override.yaml"
sudo rm -rf "/Applications/Finch/lima/data/_config/user"
sudo rm -rf "/Applications/Finch/lima/data/_config/user.pub"
sudo rm -rf "/Applications/Finch/lima/data/_networks/"
sudo rm -rf "/opt/finch/"

from finch.

timhammond avatar timhammond commented on July 17, 2024

Hi Kevin, No luck with those commands. I did a bit more digging. I found these errors in the Applications/Finch/lima/data/finch/ha.stderr.log

{"level":"info","msg":"Waiting for the essential requirement 1 of 5: \"ssh\"","time":"2022-12-07T19:54:57-05:00"}
{"level":"debug","msg":"executing script \"ssh\"","time":"2022-12-07T19:54:57-05:00"}
{"level":"debug","msg":"executing ssh for script \"ssh\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Applications/Finch/lima/data/_config/user\" -o IdentityFile=\"/Users/hammondt/.ssh/id_ed25519.old\" -o IdentityFile=\"/Users/hammondt/.ssh/id_ed25519\" -o IdentityFile=\"/Users/hammondt/.ssh/id_ed25519.win\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^[email protected],[email protected]\" -o User=hammondt -o ControlMaster=auto -o ControlPath=\"/Applications/Finch/lima/data/finch/ssh.sock\" -o ControlPersist=5m -p 64147 127.0.0.1 -- /bin/bash]","time":"2022-12-07T19:54:57-05:00"}
{"level":"debug","msg":"stdout=\"\", stderr=\"[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n\", err=failed to execute script \"ssh\": stdout=\"\", stderr=\"[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\\r\\n\": exit status 255","time":"2022-12-07T19:54:57-05:00"}

I also came across this but it looks like the version included is high enough.

I also moved out my ~/.ssh/config file just in case that was mucking things up.

from finch.

timhammond avatar timhammond commented on July 17, 2024

@KevinLiAWS I was able to make it work!

I eventually tracked this down to lima-vm/lima#104

I added ssh:loadDotSSHPubKeys:false and then I was able to successfully get the VM to start properly. There must be problematic pub key or something in my .ssh

❯ cat _config/override.yaml
images: []
cpus: 3
memory: 4GiB
ssh:
    loadDotSSHPubKeys: false
networks:
    - lima: finch-shared

from finch.

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.