From db283aab2deb42ad04f4b408b370d3a3b68cdf9c Mon Sep 17 00:00:00 2001
From: ANTO SAGAYA JUSTIN R
 <7411-justinmass2001@users.noreply.git.selfmade.ninja>
Date: Mon, 9 Dec 2024 05:37:58 +0000
Subject: [PATCH] Update file create venv file.txt

---
 create venv file/create venv file.txt | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/create venv file/create venv file.txt b/create venv file/create venv file.txt
index e1ac32e..42b0e9c 100644
--- a/create venv file/create venv file.txt	
+++ b/create venv file/create venv file.txt	
@@ -11,7 +11,26 @@ Git command meaning:
     2. git push origin main ( git push to main branch. )
     3. git remote -v ( your record of remote repositories.)
 
-    
+WireGuard Private key command info:
+    sudo chmod go= /etc/wireguard/private.key
+        info: The sudo chmod go=... command removes any permissions 
+        on the file for users and groups other than the root user to 
+        ensure that only it can access the private key.
+
+    sudo cat /etc/wireguard/private.key | wg pubkey | sudo tee /etc/wireguard/public.key
+        This command consists of three individual commands that 
+        are chained together using the | (pipe) operator:
+
+    1.sudo cat /etc/wireguard/private.key: this command reads the private key 
+      file and outputs it to the standard output stream.
+    2.wg pubkey: the second command takes the output from the first command as 
+      its standard input and processes it to generate a public key.
+    3.sudo tee /etc/wireguard/public.key: the final command takes the output 
+      of the public key generation command and redirects it into the file named /etc/wireguard/public.key.
+
+
+
+
 vs code remote ssh connecting error on raspberry pi:
     sudo rm -r .vscode* ( This command remove vs code server to RPI.)
 This is linux cmd:
-- 
GitLab