Tag Archives: linux

Linux: Convert an openssh key into putty ppk format

Hi,

you want to use a openssh generated ssh key with Putty and PuttyAgent and get an error message like this:

openssh key inport error
openssh key inport error

Continue reading Linux: Convert an openssh key into putty ppk format

Advertisment to support michlstechblog.info

FTP: Setup a simple (read only) FTP server without install everything

Hi,

for some reasons, for example firmware updatse of IoT devices you need a readonly/anonymous FTP server and you don’t wont install and configure a whole ftp solution for this.

The python module twisted offers such a simple server. The ftp server must started with root privileges because it uses a port <1024. I always create a virtual python environment (ftp-venv) for such things.
Continue reading FTP: Setup a simple (read only) FTP server without install everything

Linux: Set systemd target (init/runlevel level) at grub command line

Hi,

if you temporary don’t want to boot to a graphical login manager you can, at the grub command line, tell the systemd-target the system should boot to.

Continue reading Linux: Set systemd target (init/runlevel level) at grub command line

Linux: Enable i2c kernel tracing

Hi,

when you want to see whats happened on the i2c bus on an raspberry pi you can enable tracing with debugfs.

Get root and mount debugfs. This is usually already mounted in raspbian

michael@debdev ~ # sudo su
root@debdev ~ # mount -t debugfs none /sys/kernel/debug

Continue reading Linux: Enable i2c kernel tracing

Linux: ssh error “too many authentification error”

Hi,

if you cannot logon to a linux machine and you got an error:

ssh - too many authentification failures
ssh – too many authentification failures

Continue reading Linux: ssh error “too many authentification error”