Tag: ssh
All the articles with the tag "ssh".

Hashed Known Hosts File
To set known hosts to unencrypted save in Ubuntu, you can modify your SSH configuration by editing the ~/.ssh/config file and adding the line HashKnownHosts no. This will ensure that hostnames are stored in plain text rather than hashed. Make sure to back up your existing configuration before making changes.

Using Paramiko with SSH Config Including ProxyCommand and Includes
This guide documents how to properly use Paramiko with SSH configurations that include: SSH config include directives ProxyCommand for AWS SSM Session Manager Multiple configuration parameters (hostname, user, identity files, etc.) The Problem Paramiko's SSHConfig.parse() has two key limitations: Does not support include directives - If your ~/.ssh/config has lines like include ./config.d/*.conf, paramiko will…


Knock vs. Knockd
I'm working on a project that requires a machine to be contactable on a client's remote network even when its DHCP fails. We've seen an issue where our dev

AWS: SSH using Systems Manager
Systems Manager Systems Manager adds a layer of management to your EC2’s. One particular benefit is being able to SSH into an EC2 without having to open a

AWS SSH using SSM
Updated:You can access a closed off AWS EC2 instance using SSH by using SSM as a proxy. This means no ports need be exposed from your EC2 at all. Configure the AWS

10GbE SFP+ and a Python3 One Line FTP Server
I've built my cluster and stated doing some network tests using iperf3 . My results were pretty good. But my file transfer speeds pretty bad, by comparison

Public Key from Private Key
Updated:I fall over this every so often. I have the private key file but would either have to trawl servers for authorized_keys files to get the public password or

SSH, OATH OTP and LDAP
Updated:I got myself into a bit of a knot with this one. We wanted multi-factor authentication setup on the main SSH gateway and that meant private key, password A

One Time Password and SSHD
Updated:I made a bit of a fool of myself suggesting that we add a free means of securing our external SSH gateway by using Google Authenticator. My boss simply tur