Debian: Script for SFTP users

When using a server with multiple external users, one thing that regularly comes up is that users want to access a folder on the server, such as the root folder for a webserver. This way every user can manage their files and upload new content. This can be achieved securely with SFTP, which uses the SSH protocol for file transfers.

In this article, I provide a simple script to create new users with minimal preparation and all correct settings. The text is based on the following article on debian-administration.org: OpenSSH SFTP chroot() with ChrootDirectory.

Read the rest of this entry

PuTTY customisation

One of the first things I do when I install PuTTY on a new machine, is to change the default color settings to something that is easier to read. This is a problem I have noticed on Red Hat machines, where the terminal color settings are not that great.

When you do an “ls” for example and the output contains folders, these are shown in a dark blue color, which makes it very hard to read on a black background. See the first picture in the gallery below.

Read the rest of this entry

Hello world

My name is Simon Krenger, I am a Technical Account Manager (TAM) at Red Hat. I advise our customers in using Kubernetes, Containers, Linux and Open Source.

Elsewhere

  1. GitHub
  2. LinkedIn
  3. GitLab