Damme's linux stuff

From World Wide Wiegert Wiki - WWWW
Revision as of 13:28, 25 September 2020 by Damme (talk | contribs)
Jump to: navigation, search

SSH

ssh-keygen #generate all keys

ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub # if id_rsa.pub is missing!

ssh-copy-id -i ~/.ssh/mykey user@host

pacman

pacman -F $filename # Search package including $filename:
pacman -Ss $package # Search $package
pacman -S $package # Install $package
pacman -R $package # Remove $package

Other stuff

smtprelay via gmail with postfix mailutils, s-nail https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/

Nut sending mails: https://freekode.org/nut-sending-emails/