OpenBSD ftpd 6.4: FTP server
- Infrastructure and operations
- Published
- 1 min read
- @nabbisen
Table of contents
Summary Summary
OpenBSD (opens in a new tab) has its own FTP server called ftpd (opens in a new tab). It’s sufficient to transfer files among hosts in a simple and secure way.
How To Use How To Use
ftpd is installed as a daemon in OpenBSD as the OS is installed.
In order to use it, run rcctl enable and rcctl start, and it’s almost done.
Step 0: Before Configuration Step 0: Before Configuration
The daemon is disabled by default:
$ doas rcctl check ftpd
ftpd(failed)
Step 1: Enable Daemon Step 1: Enable Daemon
$ doas rcctl enable ftpd
* Note: Here, /etc/rc.conf.local is updated:
$ cat /etc/rc.conf.local
ftpd_flags=
Step 2: Start Daemon Step 2: Start Daemon
$ doas rcctl start ftpd
ftpd(ok)
FTP server is now running. As long as there is no network issues, you can establish ftp connection to the server 😉
* Note: Accessing as root is forbidden.
Reference: Additional Configuration Reference: Additional Configuration
OpenBSD provides us several files (opens in a new tab), that is several ways, to add more configuration about such as chroot and authentication.
More on: Configure and secure a server
-
Devuan is a fork of Debian GNU+Linux without systemd.
-
Is it possible to change the passphrase after applying Full Disk Encryption by it to your OpenBSD server ?
-
OpenBSD supports full disk encryption (FDE) with softraid and bioctl.
OBSD Solutions
OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)
Comments and feedback are welcome.