Simple script that scans for available machines with tailscale status
and creates an SSH connection.
- Download the script
- Install python3
- run the script :)
- (optional Linux) add an alias
echo "alias tailssh='python3 ~/tailssh.py'" >> ~/.bashrc
then reloadsource ~/.bashrc
now you only have to type tailssh - (optional Windows) type
notepad $PROFILE
into you're powershell an add this to you're file:
function tailssh {
python "C:\path\to\the\script\tailssh.py"
}
It saves the password to the system keyring
- pip keyring
- sshpass