Troubleshooting When Using MobaXterm SSH
Iโve been using MobaXterm to conveniently develop on other devices via SSH. Since it supports SFTP and even X11 display forwarding, my workflow has been to use MobaXterm for simple operations and checks, and switch to VS Code when I need to write actual code. This setup has been the best fit for my usage pattern.
But one day, when I tried to SSH from my main laptop, I kept getting an error. Searching online didnโt give me any useful answers, so I dug into it myself.

Taking the error message literally, I opened the
/etc/ssh_config file using vi, and noticed that the username field was empty. That empty field was what caused the issue.
If you enter an appropriate username in the
User field, SSH works again. The problem, however, is that you need to re-enter the username every time you restart MobaXterm. After some digging, I found that you can fix this by going to Settings โ Configuration โ SSH tab, and filling in Default login with your username.
If you use MobaXterm frequently, itโs worth remembering this (I keep forgetting it myselfโฆ).
X11 authority error
when using GUI on mobaXterm, you have to use X11. If you try to use it without preparation, youโll run into permission issues. In that case, you need to configure the XAUTHORITY-related settings as follows before using it.
sudo env DISPLAY=$DISPLAY XAUTHORITY=$HOME/.Xauthority #and add command.
ย
Related posts
Using a Raspberry Pi as a Serial Communication Relay Server
Jan 7, 2026
A field issue occurred where serial communication between a PC and an Arduino became unstable at a distance of 3โ4 meters. To resolve this without modifying the existing host application, a Raspberry Pi was introduced as a relay server using a Gigabit network and virtual COM ports. This post describes a practical, albeit inefficient, workaround for urgent situations.
Repairing the Display on a FNIRSI 1014D Oscilloscope
Nov 15, 2025
Letโs try repairing the broken display on the FNIRSI 1014D oscilloscope
