kubectl-plugin-ssh-jump icon indicating copy to clipboard operation
kubectl-plugin-ssh-jump copied to clipboard

what is the default password?

Open caliburn1994 opened this issue 3 years ago • 0 comments

  1. Clean all the things.
$ kubectl ssh-jump minikube -u myuser -i ~/.ssh/id_rsa -p ~/.ssh/id_rsa.pub   --cleanup-jump  --cleanup-agent
using: port=22
Agent pid 1968168
ssh-agent is already running
Forwarding from 127.0.0.1:2222 -> 22
Forwarding from [::1]:2222 -> 22
Handling connection for 2222
Enter passphrase for key '/home/xiaojie/.ssh/id_rsa': 
[email protected]: Permission denied (publickey).
kex_exchange_identification: Connection closed by remote host
Clearning up SSH Jump host (Pod)...
pod "sshjump" deleted


Killing ssh-agent...
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;

  1. reset keys
# all is 'enter'
$ ssh-keygen -t rsa
  1. re-deploy
$ 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).

what is the password of myuser?

caliburn1994 avatar Apr 17 '21 11:04 caliburn1994

@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

yokawasa avatar Aug 10 '22 15:08 yokawasa

i'll be closing the issue. Please feel free to open the issue if you have any question. Thanks!

yokawasa avatar Aug 14 '22 15:08 yokawasa