yokawasa / kubectl-plugin-ssh-jump

A kubectl plugin to access nodes or remote services using a SSH jump Pod
Apache License 2.0
176 stars 18 forks source link

release 0.6.0 #12

Closed yokawasa closed 2 years ago

yokawasa commented 2 years ago

Support SSH local port forwarding to access a remote server. This allows to forward the traffic form local machine to SSH jump then SSH jump will forward the traffic to the remote server.

About SSH local port forwarding wint kubectl ssh-jump

Suppose you have private & public SSH key on your side and you want to access a remote server (IP: 10.100.10.8) using 3389/TCP port which is not accessible directly but accessible via SSH jump, execute the plugin with options like this, at first:

Now, you're ready to access to the remote server at port 13200 at local machine.