Security, software development and devops in a cloud world

Tag SSH

SSH: Signature Algorithm ssh-rsa Error

You are connecting to an OpenSSH server using an RSA private key and the following error is displayed:

You check the OpenSSH server logs and find the following entry:

You are not able to authenticate with the SSH… Continue Reading →

PHP 8: Setup PHP_SSH2

Introduction This article describes a problem that I ran into while developing an SSH application with PHP 8.0 on Windows 10 and the solution. Environment Windows 10 Professional XAMPP 8.0.6 – 2021-05-11 PHP 8.0.6 Example Code:

The problem line… Continue Reading →

Ubuntu 20.04 Desktop – Installing and Configuring SSH

Introduction Ubuntu 20.04 Desktop does not include an SSH server preinstalled. In this article, I show how I install OpenSSH, create an SSH keypair, install the keypair Ubuntu for a user and disable password-based SSH logins. I also include a… Continue Reading →

Azure – Recovering from UFW firewall lockout – Ubuntu

Introduction You have a Ubuntu instance running in an Azure Virtual Machine. You connect to this instance via SSH. One day you decide to enable the UFW firewall and your SSH connection drops. You cannot reconnect. Problem Enabling the UFW… Continue Reading →

Google Cloud Compute – Mastering SSH

Introduction One of the more frequent problems on Stackoverflow is Compute Engine SSH. This article will dive into how SSH is configured on Compute Engine and how to connect using various SSH tools. I will also cover how to create… Continue Reading →

Google Cloud Shell – CLI in Go

Google Cloud Shell CLI Written in Go This is a placeholder until I write this article. I have published the source code on GitHub. Note: This program is written for Windows. I have not yet ported it to Linux or… Continue Reading →

Security – Key Pairs and Private-Public Keys

Table of Contents Introduction Definitions Example Private & Public Keys OpenSSH Public Keys SSH-2 Public Keys Examining OpenSSH Public Keys Introduction There is a lot of confusion and inaccurate information on the Internet about Key Pairs and Private/Public keys. This… Continue Reading →

© 2022 John Hanley — Powered by WordPress

Theme by Anders NorenUp ↑