diff --git a/create venv file/create venv file.txt b/create venv file/create venv file.txt index e1ac32edf653719016d4a9c79b51992bad5fd5d9..42b0e9cac73737e4e418b812c3911eb658a8df12 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: