SSHMe, How I Manage and Connect to Many Servers
I’m not going to add another ‘me-too’ solution but if you wanted to know similar solutions, you can see here.
OK, here’s the situation.
I have many servers to maintain and connect to but every time I want to connect to one or two of those servers, I need to open my notes and type the username I have (along with the password) and the specific port, if any.
For example, I want to connect to machine A with IP 192.168.1.100 using root
to specific port 12020. So here’s what I’m doing:
$ ssh -l root 192.168.1.100 -p 12020
[email protected]'s password:
Now, I also want to connect to machine B with with IP 192.168.1.120 using ‘ksetyadi’ to specific port 1224.
$ ssh -l ksetyadi 192.168.1.120 -p 1224
[email protected]'s password:
This is easy when I only have one or two servers but actually, I have more than 5, actually 12, servers to maintain and using the old way is not easy anymore. Not fun.
So, what is the fun way according to me?
I opened my favorite code editor and start making my life easier and fun again.
Without further ado, see the code on Github.