mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
Add 15x scripts
This commit is contained in:
parent
34b2cd8b09
commit
b09fe02173
11
sh/151-openvpn
Normal file
11
sh/151-openvpn
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# This script adds support for connecting to a VPN with OpenVPN.
|
||||
# Alternatively, you can also use it as a server and host your
|
||||
# own VPN.
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/OpenVPN
|
||||
|
||||
set -xe
|
||||
|
||||
pacman -S openvpn
|
39
sh/152-openssh
Normal file
39
sh/152-openssh
Normal file
@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# OpenSSH is the standard SSH tool for both client side and
|
||||
# server side operations. By default SSH servers listen on TCP
|
||||
# port 22, but you should specify a high random number to prevent
|
||||
# brute force attempts.
|
||||
#
|
||||
# To connect to a server, use:
|
||||
# ssh -p port user@server-address
|
||||
#
|
||||
# Note that connecting via public-key authentication (i.e. SSH
|
||||
# keys) is the standard. You should disable password logins
|
||||
# entirely.
|
||||
#
|
||||
# To let other clients access your machine, enable the ssh
|
||||
# daemon service:
|
||||
# systemctl enable sshd.service
|
||||
#
|
||||
# If you let external computers access your machine through SSH,
|
||||
# then you need to make sure to configure `/etc/ssh/sshd_config`
|
||||
# appropriately.
|
||||
#
|
||||
# Note that `mosh` may also be a viable solution for certain
|
||||
# use cases (note that it must be used with a terminal multiplexer
|
||||
# like tmux for session history).
|
||||
#
|
||||
# If you want to SSH into your server with an internet hotspot that
|
||||
# blocks anything except ports 80 / 443, you can use a server
|
||||
# multiplexer like `sslh`.
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/Secure_Shell
|
||||
# https://wiki.archlinux.org/index.php/SSH_keys
|
||||
# https://wiki.archlinux.org/index.php/Port_knocking
|
||||
# https://mosh.org/
|
||||
# https://www.rutschle.net/tech/sslh/README.html
|
||||
|
||||
set -xe
|
||||
|
||||
pacman -S openssh
|
Loading…
Reference in New Issue
Block a user