Closed caliburn1994 closed 2 years ago
@caliburn1994 I'm sorry for very very late reply.
what is the password of myuser?
the pasword you need to give is the one you typed in generating public/private rsa key pair. hope it would answer your question
i'll be closing the issue. Please feel free to open the issue if you have any question. Thanks!
Killing ssh-agent... unset SSH_AUTH_SOCK; unset SSH_AGENT_PID;
all is 'enter'
$ ssh-keygen -t rsa
$ kubectl ssh-jump minikube -u myuser -i ~/.ssh/id_rsa -p ~/.ssh/id_rsa.pub using: port=22 Started ssh-agent: pid=1998827 Agent pid 1998827 Identity added: /home/xiaojie/.ssh/id_rsa (xiaojie@xiaojie-ubuntu) Creating SSH jump host (Pod)... pod/sshjump created Forwarding from 127.0.0.1:2222 -> 22 Forwarding from [::1]:2222 -> 22 Handling connection for 2222 myuser@minikube's password: Permission denied, please try again. myuser@minikube's password: Permission denied, please try again. myuser@minikube's password: myuser@minikube: Permission denied (publickey,password).