summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-06-09 12:43:39 +0200
committerAhmed Abdelhalim <[email protected]>2021-06-09 13:43:10 +0200
commitd2dbd1addfd49f9e8e0d3876f2845e4b9980af2c (patch)
treef80ee9f09211ffde906f5761b49118579122218d /README.md
parent5dca651fbc6ac0896c15213278b3284e25aa94be (diff)
Allow ssh on linux from local networks using smart card
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 35a6327..db7d83a 100644
--- a/README.md
+++ b/README.md
@@ -144,4 +144,8 @@ sudo apt update -y
sudo apt upgrade -y
sudo apt install scdaemon vim htop tmux pass pass-extension-otp git-crypt -y
ln -sf ~/.rc/.bashrc ~/.bashrc
+ssh-add -L > ~/.ssh/.authorized_keys
+sudo systemctl enable ssh
+sudo ufw enable
+sudo ufw allow from 192.168.0.0/24 to any port 22
```