bash
Check if package installed.sh NAME
./check_if_package_installed.sh NAME
Copy pub key to remote if not exist
./copy_id_rsa_public_key_to_remote.sh HOST
Alternative use:
ssh-copy-id HOST
./check_if_package_installed.sh NAME
./copy_id_rsa_public_key_to_remote.sh HOST
Alternative use:
ssh-copy-id HOST