https://github.com/averagemarcus/kube-ssh
Get shell access to a Kubernetes host instances
https://github.com/averagemarcus/kube-ssh
hacktoberfest kubernetes
Last synced: over 1 year ago
JSON representation
Get shell access to a Kubernetes host instances
- Host: GitHub
- URL: https://github.com/averagemarcus/kube-ssh
- Owner: AverageMarcus
- Created: 2019-07-29T15:12:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-15T19:52:05.000Z (about 4 years ago)
- Last Synced: 2025-03-27T09:52:18.673Z (over 1 year ago)
- Topics: hacktoberfest, kubernetes
- Language: Shell
- Homepage: https://hub.docker.com/r/averagemarcus/kube-ssh
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kube-ssh
Get shell access to a Kubernetes host instance. The pod will be removed upon exiting.
## Usage
```shell
➜ sh -c "$(curl -sSL https://raw.githubusercontent.com/AverageMarcus/kube-ssh/master/ssh.sh)"
[0] - ip-10-189-21-146.eu-west-1.compute.internal
[1] - ip-10-189-21-234.eu-west-1.compute.internal
[2] - ip-10-189-21-96.eu-west-1.compute.internal
Which node would you like to connect to? 1
If you don't see a command prompt, try pressing enter.
[root@ip-10-189-21-234 ~]#
```
### fzf
If you have [fzf](https://github.com/junegunn/fzf) available on your PATH it will be used instead of needing to enter the number of the node you'd like to connect to.