This project is designed to help you manage your ssh accounts
- You can use this tool to connect to your servers.
- Only two things are required:
- pem file
- ssh command per server
- The logic to connect to your server is handled by this utility
- The utility will also set the right permissions for the pem file if it's not already set to
400
- This utility expects
sshis installed - This utility expects PEM file is in following format:
<server-name>@<ssh-username>@<ip-address>.pem- Where
<server-name>is the user friendly name of the remote server<ssh-username>is the username that is used to connect the remote server<ip-address>is the IP address of the remote server
- For E.g. If I have a remote server named
achme-prodand it is aubuntuserver with IP Address127.0.0.1, then I would name my PEM file as follows:achme-company-prod@ubuntu@127.0.0.1.pem
- You can put this in your execution
$PATHfor ease of use- To do that alter the
$PATHvariable - For mac I added this to my
~/.zshrcprofile:export PATH="/Users/sslankesh/work/ss-commands:$PATH"
- To do that alter the
- Delete the example pem file (
achme-company-prod@ubuntu@127.0.0.1.pem) frompemdirectory
- The
<ssh-username>cannot have@& space in it- For E.g.
ubuntu@useris not allowed - For E.g.
ubuntu useris not allowed - For E.g.
ubuntuuseris allowed
- For E.g.
- The
<server-name>cannot have@in it- For E.g.
achme-company@prodis not allowed - For E.g.
achme-company-prodis allowed
- For E.g.
- This utility works with
IPv4 addressesonly - This utility works only in
macandlinuxenvironments - This utility works only with
zshandbashshells - This utility works only with
pemfiles