At Qxf2, we initially set up some of our applications on Lightsail instances running Ubuntu 18.0. Recently, we decided to migrate these instances to AWS EC2. As part of this process, we also upgraded the Ubuntu operating system from 18.0 to 22.0. We regularly backup the database of one of the applications hosted on the Lightsail instance using a scheduled […]
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms
Connect Pi to available WiFi without Ethernet cable and seamlessly move across networks
Do you want to connect Pi to available WiFi without Ethernet cable and seamlessly move across networks? Please read along. I was a part of an interesting IoT project called water-cooler-talks at QXf2, for which I had to set up my Raspberry Pi device. I wanted to set up my Raspberry Pi in headless mode and tried to connect the […]
Access RaspberryPi over the internet using Remote.it
To Access RaspberryPi over the internet, we need to do port forwarding. There are a number of ways to do that: Set up port forwarding on your router: But port forwarding on your home/local router to access your Pi is extremely dangerous. Go with third-party online port forwarding services: It is recommended to go with this option to avoid security […]
Handling set new password prompt with Paramiko
Why this post? I hit an issue at one of our client recently – beginning from the latest version of the application, the remote server will prompt for a new password in the first login attempt, the password that comes out of the box will take you to the set new password prompt where you need to set a new […]
SSH using Python Paramiko
Recently, as part of an automated test, we needed to SSH into a server, toggle a service and then check the response on a web application. We used the Python module Paramiko. We ended up writing simple wrappers around the most common actions test automation may need to perform over SSH. In this post, we will share the same. We […]