psirus0588.github.io

My usefuls code snippets

View on GitHub

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