Goal: Creating a terminal based putty alternative tool. A terminal companinon for you to ssh'ing into multiple remote servers
- sshclient
- sshpass (linux package)
git clone https://github.com/Pratham82/gossh.git && cd gossh
cp go-ssh-cli.sh ~/
chmod u+x ~/go-ssh-cli.sh
echo 'alias gossh="~/go-ssh-cli.sh"' >> .bashrc
OR
echo 'alias gossh="~/go-ssh-cli.sh"' >> .zshrc
source ~/.zshrc OR
source ~/.bashrc
The IP address and hostname mentioned in the script is a dummy IP address add your own remote server's IP address and hostname
- Make server data into arrays or hashmap
- Dynamically adding server data in server list instead of hard coded strings