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