Skip to content

Instantly share code, notes, and snippets.

@hsaputra
Created August 29, 2016 23:46
Show Gist options
  • Save hsaputra/4d8da2d42ae12e57f2d3df3ea08dd5db to your computer and use it in GitHub Desktop.
Save hsaputra/4d8da2d42ae12e57f2d3df3ea08dd5db to your computer and use it in GitHub Desktop.
SSH to Minikube VM
You can ssh into the VM by finding the IP (from kubectl config view) and using username "docker" password "tcuser":
ssh [email protected]
@arush-sal
Copy link

<3 thank you so much

@quangthe
Copy link

Thanks 👍

Copy link

ghost commented Aug 10, 2018

thx

@ahmadzuhd
Copy link

You can use the already available id_rsa private and public keys to connect to the host.... Assign then to the machine you are connecting from

@ozbillwang
Copy link

Now we can directly ssh to minikube easily with command minikube ssh

$ minikube ssh
                         _             _
            _         _ ( )           ( )
  ___ ___  (_)  ___  (_)| |/')  _   _ | |_      __
/' _ ` _ `\| |/' _ `\| || , <  ( ) ( )| '_`\  /'__`\
| ( ) ( ) || || ( ) || || |\`\ | (_) || |_) )(  ___/
(_) (_) (_)(_)(_) (_)(_)(_) (_)`\___/'(_,__/'`\____)

$

@huynguyennovem
Copy link

thank man! It worked

@mohammadasim
Copy link

thanks mate

@dbslave
Copy link

dbslave commented Mar 14, 2019

I've been searching off and on all week for this. Thanks it worked.

@cpxPratik
Copy link

You can just do ssh docker@$(minikube ip) with ip address from minikube ip command.

@hanzala750
Copy link

it worked

@navdove
Copy link

navdove commented Feb 20, 2020

you can just do
minikube ssh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment