...

SSHFS: Mount partition of a remote system via SSH

Mount remote files locally

This little guide describes the easy way to mount files from another system as a partition. This simplifies the daily work enormously, because you can quickly and easily find and copy the appropriate files in e.g. a backup partition.

What we need is FUSE (filesystem in userspace) and SSHFS. This is available under Centos7 in the EPEL repository.

If it is not yet installed, you can install it with

yum install epel-release

install and use.

Installation of fuse and sshfs

yum install fuse sshfs

Load FUSE module

fashion sample fuse

Optional: Load FUSE module on restart

echo "modprobe fuse" >> /etc/rc.local

Use SSHFS

Once the module is loaded we can use sshfs. To do this we simply type the following command:

sshfs username@hostname:/path_to_directory /local_directory

for instance

sshfs [email protected]:/geheimedaten /safe

Alternatively, an NFS should be used if necessary. This option shown is useful for quick occasional editing of files on another system.

Current articles

Kleiner Netzwerkschrank in einem gebrauchten Technikraum als Symbol für den Schutz erreichbarer Linux-Dienste
Security

Fail2Ban Alternativen für moderne Linux-Server

CrowdSec, SSHGuard und nftables verfolgen unterschiedliche Schutzansätze. Entscheidend sind Angriffsfläche, Logquellen, Durchsetzungsebene und der dauerhaft tragbare Betriebsaufwand.

Person prüft Mini-PC und Router für einen ausgehenden Tunnelzugang.
cloud computing

Cloudflare Tunnel als Alternative zu Portfreigaben

Cloudflare Tunnel macht interne Webanwendungen und ausgewählte Administrationsdienste ohne eingehende Portfreigabe erreichbar. Entscheidend bleiben Access-Regeln, MFA, lokale Rechte und eine klare Protokollgrenze.

Person prüft eine Netzwerkkarte an einem geöffneten Server für einen spezialisierten Paketdatenpfad.
Technology

DPDK: Paketverarbeitung im Userspace richtig planen

DPDK verarbeitet Pakete für ausgewählte NICs direkt im Userspace. Der Artikel erklärt Polling, Queue- und NUMA-Planung, sichere Gerätebindung sowie die Abgrenzung zu AF_XDP und dem Linux-Kernelstack.