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

Minikube ssh failure after running minikube mount. #20343

Open
angelosanramon opened this issue Feb 2, 2025 · 2 comments
Open

Minikube ssh failure after running minikube mount. #20343

angelosanramon opened this issue Feb 2, 2025 · 2 comments

Comments

@angelosanramon
Copy link

What Happened?

After running minikube mount, minikube ssh no longer works. Minikube version: v1.35.0.

mounted a volume:

❯ minikube mount ~/workspace/tmp/keycloak_certs:/home/docker
πŸ“  Mounting host path /Users/angelo/workspace/tmp/keycloak_certs into VM as /home/docker ...
    β–ͺ Mount type:   9p
    β–ͺ User ID:      docker
    β–ͺ Group ID:     docker
    β–ͺ Version:      9p2000.L
    β–ͺ Message Size: 262144
    β–ͺ Options:      map[]
    β–ͺ Bind Address: 192.168.64.1:57479
πŸš€  Userspace file server: ufs starting
βœ…  Successfully mounted /Users/angelo/workspace/tmp/keycloak_certs to /home/docker

πŸ“Œ  NOTE: This process must stay alive for the mount to be accessible ...

then ran minikube ssh:

❯ minikube ssh
ssh: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

also, ran minikube status:

❯ minikube status
E0201 20:10:19.375094   46711 status.go:417] failed to get storage capacity of /var: NewSession: new client: new client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
E0201 20:10:19.375149   46711 status.go:179] status error: NewSession: new client: new client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
E0201 20:10:19.375163   46711 status.go:126] status error: NewSession: new client: new client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

tried killing minikube mount process, but didn't resolve the ssh issue:

^CπŸ”₯  Unmounting /home/docker ...

❌  Exiting due to MK_INTERRUPTED: Received interrupt signal

❯ minikube ssh
ssh: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Attach the log file

log.txt

Operating System

macOS (Default)

Driver

HyperKit

@angelosanramon
Copy link
Author

Closing. This is my bad. The mount is overwriting the /home/docker directory. I thought it would create a keycloak_certs directory.

@Ritikaa96
Copy link

/close will close the issue @angelosanramon . thanks for updating.

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

No branches or pull requests

2 participants