Advanced Search
Search Results
15 total results found
Windows .SSH Config File Syntax
Here are use cases that require editing the SSH config file in your Windows user profile. References Syntax reference for the SSH config file is here: https://www.ssh.com/academy/ssh/config Tutorial for creating them: https://betterprogramming.pub/a-step-by...
TortoiseGit Setting the SSH Key
Here are steps to set the SSH key for a repo checkout. Open File Explorer and navigate to the checkout folder. Right-click the folder, Select TortoiseGit → Settings. From the Settings page, on the left-hand navigation pane, locate the Git node a...
GitHub SSH Key Updates
When the GitHub client SSH key expires, any checked out repository must be updated to use the new key. This is because we embed key properties in its name. And with many active repositories checked out for development, updating each one is tedious and error-...
Create PFX Cert File (for IIS)
Windows IIS requires a pfx file when importing an SSL certificate. This can be created from a crt and a key file using openssl and the following steps. Locate the openssl.exe on your system. It is usually installed as part of git, and located, here:C:\Progra...
How to Get Host SSH Key Fingerprints
Here’s a short command line statement that will fetch the host ssh key fingerpring without authenticating with it: ssh-keyscan host | ssh-keygen -lf - Here’s another way to clean up ssh host key fingerprints: # remove any old fingerprints for the host ssh-...
Creating SSH Keys in Windows
General Notes SSH keys can be easily generated in Windows, using PuttyGen. 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 Based on the obsolescence of RSA keys in U...
SSH Key Naming Convention
This page describes a good naming convention for SSH keys, that makes them easier to track, rotate, and revoke. You should use this naming convention for the filename of keys.And as well, use the same convention when populating the the comment field of each k...
Creating SSH Keys in Linux
Creating an SSH key is straightforward on a linux client, using this command: ssh-keygen By default recent versions of ssh-keygen will create a 3072-bit RSA key pair, which is secure enough for most use cases (you may optionally pass in the -b 4096 flag to c...
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...
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:...