OpenBSD ftpd 7.0: 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).
ftpd, the FTP daemon, is installed and disabled by default.
All what to do in order to use it is just run rcctl enable and rcctl start.
Tutorial Tutorial
Before Configuration Before Configuration
Let’s see it’s disabled by default:
$ doas rcctl check ftpd
ftpd(failed)
Step 1: Enable Daemon Step 1: Enable Daemon
First, enable it:
$ doas rcctl enable ftpd
* Note: Here, /etc/rc.conf.local will be updated like this:
$ cat /etc/rc.conf.local
ftpd_flags=
Step 2: Start Daemon Step 2: Start Daemon
Then start it:
$ doas rcctl start ftpd
ftpd(ok)
The FTP server is now running. You can establish ftp connection to the server 😉 (as long as there is no network issues.)
* Note: Accessing as root is forbidden.
Conclusion Conclusion
OpenBSD provides not only the daemon program but also several configuration files (opens in a new tab). /etc/ftpchroot and /etc/ftpusers must be sometimes useful.
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.