When setting sshd PasswordAuthentication to no has no effect

After setting up ssh authentication via public/private key for my user account on my Ubuntu 22.04 server, I wanted to disable authentication via password for security reasons. So in /etc/ssh/sshd_conf I changed the entry PasswordAuthentication from yes (the default) to no: [plain] # To disable tunneled clear text passwords, change to no here! PasswordAuthentication no … Continue reading When setting sshd PasswordAuthentication to no has no effect

Using two factor authentication for ssh with Ubuntu 22.04

Since many of the instructions I found on the internet seem to be flawed or at least outdated, here is how I managed to enable two factor authentication (2fa) with (time based) OTP in Ubuntu 22.04 using the Google Authenticator PAM plugin. Note: When using ssh private/public key based authentication, no OTP prompt will be … Continue reading Using two factor authentication for ssh with Ubuntu 22.04

Troubleshoot SSL/TLS connection with Indy

Yesterday, all of a sudden, one of my Delphi programs failed to connect to various WMS servers on the internet. I got the following error message: Error connecting with SSL. error 1409442E:SSL routine:ssl3_read_bytes:tlsv1 alert protocol version Since I was using a recent version of Indy, this should not happen, according to this thread on Delphi … Continue reading Troubleshoot SSL/TLS connection with Indy

Exporting Windows drivers with pnputil

I recently came across an entry in c't Magazin's FAQ about backing up Windows drivers for a fresh Windows installation. Their suggestion was to utilise the pnputil tool that is included with Windows. Further research on the topic brought up numerous other articles. Strangely, the c't article recommended the use of a PowerShell command prompt … Continue reading Exporting Windows drivers with pnputil