Advanced Search
Search Results
193 total results found
Copy SSH RSA key to a server
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...
Creating an SSH Key Pair for User Authentication
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 Users Commands
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...
Change Terminal Shell to the Bash Shell
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) ...
How to Add User to Sudoers
usermod -aG sudo username
Change Pi-Hole Admin Password
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:...
Change IP and Gateway from Shell
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...
Proxmox QEMU Guest Agent
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...
How to Set or Change the Time Zone in Linux
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...
Pinging from a base user - ping: socket: Operation not permitted
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...
How to Download Files with cURL
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...
Keep getting message '404:: command not found' every time opening terminal
The 404 is in this file. sudo nano /etc/bash_completion.d/docker-compose Remove the line. No more 404 when logging in.
Install PVE Headers
Enter the following in a terminal as root on the host machine. apt install pve-headers
Remove Subscription Notice
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...
Resize LXC Root Disk
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...
Windows Terminal Services – Local Session Manager Log
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...
Free Disk Space on Windows Command Line
From the command line execute to get total and free space from the C drive fsutil volume diskfree c:
Windows Server 2019 SFTP 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...