Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

193 total results found

Copy SSH RSA key to a server

Linux SSH

Once an SSH key has been created, the ssh-copy-id command can be used to install it as an authorized key on the server. Once the key has been authorized for SSH, it grants access to the server without a password. Use a command like the following to copy SSH k...

Linux
Security

Creating an SSH Key Pair for User Authentication

Linux SSH

ssh-keygen generates, manages and converts authentication keys for ssh. ssh-keygen can create RSA keys for use by SSH protocol version 1 and RSA or DSA keys for use by SSH protocol version 2. The type of key to be generated is specified with the -t option. If ...

Linux
Security

Linux Users Commands

Linux General

useradd Command The general syntax for the useradd command is as follows: useradd [OPTIONS] USERNAME Only root or users with sudo privileges can use the useradd command to create new user accounts. When invoked, useradd creates a new user account according...

Linux

Change Terminal Shell to the Bash Shell

Linux Bash

Change Terminal Shell to the Bash Shell This is to change the current user (with sudo privileges) to the bash shell. sudo chsh -s /bin/bash $(whoami) Change a user (not current user) to use the bash shell. sudo chsh -s /bin/bash $(username) ...

Linux

How to Add User to Sudoers

Linux Security

usermod -aG sudo username

Linux

Change Pi-Hole Admin Password

Pi-Hole

This is to be run from a Terminal session on the Linux machine hosting the Pi-Hole installation. sudo pihole -a -p You will be asked to supply the new password for the Pi-Hole Admin User Output Enter New Password (Blank for no password): Confirm Password:...

Linux
Pi-Hole

Change IP and Gateway from Shell

Linux Security

Change IP ifconfig <interface_name> <ip_address> netmask <netmask_address> Change Gateway sudo route add default gw <gateway_ip_address> <interface_name> Example sudo ifconfig Ethernet 10.0.100.27 netmask 255.255.255.0 sudo route add default gw 10.0.10...

Linux
Networking

Proxmox QEMU Guest Agent

Proxmox Proxmox VMs

The qemu-guest-agent is a helper daemon, which is installed in the guest. It is used to exchange information between the host and guest, and to execute command in the guest. In Proxmox VE, the qemu-guest-agent is used for mainly three things: To prop...

Linux
Proxmox

How to Set or Change the Time Zone in Linux

Linux General

A time zone is a geographic region that has the same standard time. Typically the time zone is set during the installation of the operational system, but it can be easily changed at a later time. Using the correct time zone is essential for many systems relat...

Linux

Pinging from a base user - ping: socket: Operation not permitted

Linux Security

The error message ping: socktype: SOCK_RAW followed by ping: socket: Operation not permitted indicates that the user does not have the necessary permissions to use the ping command. The error message ping: => missing cap_net_raw+p capability or setuid? sugges...

Linux
Security

How to Download Files with cURL

Linux General

Client URL, or cURL, is a library and command-line utility for transferring data between systems. It supports many protocols and tends to be installed by default on many Unix-like operating systems. Because of its general availability, it is a great choice for...

Linux
cURL

Keep getting message '404:: command not found' every time opening terminal

Linux Bash

The 404 is in this file. sudo nano /etc/bash_completion.d/docker-compose Remove the line. No more 404 when logging in.

Linux
Bash

Install PVE Headers

Proxmox Proxmox Host

Enter the following in a terminal as root on the host machine. apt install pve-headers

Linux
Proxmox

Remove Subscription Notice

Proxmox Proxmox Host

To remove the “You do not have a valid subscription for this server” popup message while logging in, run the command bellow. You’ll need to SSH to your Proxmox server or use the node console through the PVE web interface. One Line Command Run the following o...

Linux
Proxmox

Resize LXC Root Disk

Proxmox LXC Containers

What is this for This guide is to show how to resize the root fs of a Proxmox LXC Container Go to the bottom of this page --->here for the quick way to do this in Proxmox 8.0+ On your proxmox node List the containers: pct list Stop the particular contain...

Linux
Proxmox

Windows Terminal Services – Local Session Manager Log

Microsoft Windows Windows Remote Desktop

What Is It? The TerminalServices-LocalSessionManager log contains entries about the allocation of local sessions, which are used for both local and remote interactive logins. It is updated by the Local Session Manager part of Remote Desktop Services (previous...

Windows RDS

Free Disk Space on Windows Command Line

Microsoft Windows Windows General

From the command line execute to get total and free space from the C drive fsutil volume diskfree c:

Windows Command Line

Windows Server 2019 SFTP Server

Microsoft Windows Windows Server

New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH SSH Server' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 -Program "C:\System32\OpenSSH\sshd.exe SFTP Installhttps://mushaaf.net/https-www-youtube-com-channel-uclop2-xarme45pg9x...

Windows Server