Difference between revisions of "Damme's linux stuff"
From World Wide Wiegert Wiki - WWWW
Line 1: | Line 1: | ||
== SSH == | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | |||
== pacman == | == pacman == |
Revision as of 13:28, 25 September 2020
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/