Advanced Search
Search Results
57 total results found
Connecting to SSH Server from Windows
Here’s a list of steps to connect with an SSH server from a Windows PC using SSH key authentication. Open the Putty application, Putty.exe. From the GUI, set the hostname and port of the SSH service, and come up with a memorable name for the session, and sav...
Authenticating to Linux Server with SSH Keys
Once you have configured the server with SSH key authentication, you can follow this to attempt connection. NOTE: Using SSH key authentication does not require a password for the remote account. From a Linux host, use this: ssh username@remote_host If this...
Linux: Disabling Password Authentication
Once you have confirmed that you have SSH key access to a Linux host (using SSH without a password), it is safe to disable password-based authentication. WARNING: This step will lock down password-based logins, so ensuring that you will still be able to get a...
Ubuntu: Setup SSH Server
Here are steps to setup the SSH server on an Ubuntu host. Here's a good reference article for how to do what we're doing here: How to Enable SSH on Ubuntu 20.04 Here are the commands to execute: sudo apt update Install the SSH server with this: sudo apt i...
Adding SSH Keys with CAT
Here's a quick and dirty way to upload SSH keys to a remote user account, using the CAT command. This can be done, if your local host doesn't have the ssh-copy-id utility. If you do not have ssh-copy-id available, but you have password-based SSH access to an...
Linux SSH Key Management
See this article for an update based on obsolete SHA-1 RSA key usage: Ubuntu 22.04 SSH the RSA key isn't working since upgrading from 20.04 NOTE: We currently have two tutorials for this, that need to be consolidated into one. So, maybe this alternate tutoria...
Clustering HashiCorp Vault
Here are special instructions for setting up a vault cluster. NOTE: See the regular setup page for other details: Hashicorp Vault Setup DNS Resolution Since the vault services will communicate with eachother over TLS, they will need certificates.And as such...
Generate Certificates with Hashicorp Vault
Here are steps to generate SSL certificates using HashiCorp Vault as an Intermediate CA. NOTE: Be sure that you've setup a vault instance as an Intermediate CA.See this page for how: Vault as Intermediate CA Login to the web UI of your intermediate CA, such ...
NTP Server
Here are some useful commands when running a GPS-disciplined NTP server. See this page for the local NTP server (192.168.1.12): Local GPS NTP Time Server NTPQ When running a query of an ntp server, you would use: ntpq -p.What you see is this:ntpq -pn Her...
Hashicorp Vault Setup
Here are steps for setting up a secrets store using Hashicorp Vault, on Ubuntu 24. References Lots of steps were taken from here: https://developer.hashicorp.com/vault/tutorials/secrets-management/pki-engine Server Setup Before installing Vault, perform st...
Local GPS NTP Time Server
Accessible at: 192.168.1.12Project files stored here: “\\192.168.1.11\zfs_mirror3\Projects\Dormant\NTP Raspberry Pi Server” Build Data Runs Raspian on a Raspberry PI Static IP Address was set in: /etc/dhcpcd.conf Installed ntpstat with this: sudo apt in...
Docker Space Full
Here are some things to check on when the disk on a docker host gets full. sudo docker system prune -a -f This will cleanup other resource types: docker system prune -a This command will remove older logs from the container logs folder: sudo find /project...
Ubuntu Host Setup
Here are the minimal steps to setup a clean Ubuntu VM. Note: These instructions are tested on on Ubuntu v22 through v24.They may require updates for other versions. Spawn VM Clone The first step is to spawn a clone of the template VM. Be sure to do the fol...
Docker Commands
Here’s a list of commands to remember for docker administration. List Containers To list all docker containers on a host: sudo docker ps -a Remove Containers To remove all docker containers on a host: sudo docker rm -f $(sudo docker ps -aq) Container Lo...
How to Add Root CAs to Ubuntu
Reference: https://ubuntu.com/server/docs/install-a-root-ca-certificate-in-the-trust-store Install the CA certificate package: sudo apt-get install -y ca-certificates Now, you can install any local intranet root CA, with this: NOTE: We are copying in the ....
How to Setup SSH Key Authentication to Linux
This how to consolidates several aspects of setting up SSH key access to a Linux server. NOTE: We currently have two tutorials for this, that need to be consolidated into one. So, maybe this alternate tutorial fills your use-case: Ubuntu SSH Key Access NOTE:...
NGINX: Deploy SSL Certificate
Here's quick instructions for deploying an SSL key/cert pair to an NGINX instance. NOTE: These steps are assumed to be executed as root. Elevate to Root Elevate to root with this: sudo -i Create SSL Folder By default, a fresh NGINX install doesn't yet co...