ssh & enc/dec functions

This commit is contained in:
Jason Swank 2023-11-08 10:24:31 -05:00
parent 65eb792c32
commit 15fe57263c
2 changed files with 15 additions and 0 deletions

View File

@ -11,3 +11,12 @@ fi
rm -f $HOME/.zshrc $HOME/.profile >/dev/null 2>&1
find * -maxdepth 0 -type d | xargs -I{} $STOW -t "$HOME" {}
func encrypt() {
openssl enc -e -aes256 -base64 -in $1
}
func decrypt() {
openssl enc -d -aes256 -base64 -in $1
}

View File

@ -1,5 +1,11 @@
Host nyyrikki-vpn
Hostname 10.147.19.238
Host nyyrikki
Hostname 192.168.101.110
Host tuulikki
Hostname 192.168.101.69
Host tuulikki.scalene.net
Port 22022