kubectl-plugin-ssh-jump
kubectl-plugin-ssh-jump copied to clipboard
what is the default password?
- 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;
- reset keys
# all is 'enter'
$ ssh-keygen -t rsa
- 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 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!