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

"finch vm init": failed to setup ssh client: ssh: handshake failed: ssh: unable to authenticate #132

Closed
sparkling opened this issue Dec 24, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sparkling
Copy link

Describe the bug
Followed the instructions in the Finch README. Getting above SSH error when running finch vm init

Steps to reproduce
Run brew install --cask finch, then run finch vm init

Expected behavior
For Finch to install and initialise successfully.

Screenshots or logs

  1. brew install --cask finch,
    ######################################################################## 100.0%
    ==> Installing Cask finch
    ==> Running installer for finch; your password may be necessary.
    Package installers may write to any location; options such as --appdir are ignored.
    Password:
    installer: Package name is Finch
    installer: Installing at base path /
    installer: The install was successful.
    🍺 finch was successfully installed!

  2. finch vm init
    INFO[0000] Using default values due to missing config file at "/Users/henrik.pettersen/.finch/finch.yaml"
    INFO[0000] "/Users/henrik.pettersen/.finch" directory doesn't exist, attempting to create it
    INFO[0000] binaries directory doesn't exist
    INFO[0000] Requesting root access to finish network dependency configuration
    INFO[0000] sudoers file not found: open /etc/sudoers.d/finch-lima: no such file or directory
    INFO[0000] Initializing and starting Finch virtual machine...
    INFO[0069] Finch virtual machine started successfully
    FATA[0069] failed to setup ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Additional context
Model Name: MacBook Pro
Model Identifier: MacBookPro17,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 8419.60.44
OS Loader Version: 7459.141.1
Serial Number (system): FVFGW23LQ05N
Hardware UUID: 1FB6F3D7-2931-523A-9A3A-09F8A497D8AB
Provisioning UDID: 00008103-001844A43A33001E
Activation Lock Status: Disabled

OS: MacOS Monterey 12.6.2

@sparkling sparkling added the bug Something isn't working label Dec 24, 2022
@azhouwd
Copy link
Member

azhouwd commented Dec 26, 2022

Duplicate of #38

@azhouwd azhouwd marked this as a duplicate of #38 Dec 26, 2022
@KevinLiAWS KevinLiAWS assigned KevinLiAWS and pendo324 and unassigned KevinLiAWS Dec 26, 2022
@KevinLiAWS
Copy link
Contributor

Close the duplicate issue and track with #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants