OpenBSD ftpd 7.0: FTP server

Summary

OpenBSD has its own FTP server called ftpd.

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

Before Configuration

L…


This content originally appeared on DEV Community and was authored by Heddi Nabbisen

Summary

OpenBSD has its own FTP server called ftpd.

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

Before Configuration

Let's see it's disabled by default:

$ doas rcctl check ftpd
ftpd(failed)

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

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

OpenBSD provides not only the daemon program but also several configuration files. /etc/ftpchroot and /etc/ftpusers must be sometimes useful.


This content originally appeared on DEV Community and was authored by Heddi Nabbisen


Print Share Comment Cite Upload Translate Updates
APA

Heddi Nabbisen | Sciencx (2022-02-19T09:35:53+00:00) OpenBSD ftpd 7.0: FTP server. Retrieved from https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/

MLA
" » OpenBSD ftpd 7.0: FTP server." Heddi Nabbisen | Sciencx - Saturday February 19, 2022, https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/
HARVARD
Heddi Nabbisen | Sciencx Saturday February 19, 2022 » OpenBSD ftpd 7.0: FTP server., viewed ,<https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/>
VANCOUVER
Heddi Nabbisen | Sciencx - » OpenBSD ftpd 7.0: FTP server. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/
CHICAGO
" » OpenBSD ftpd 7.0: FTP server." Heddi Nabbisen | Sciencx - Accessed . https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/
IEEE
" » OpenBSD ftpd 7.0: FTP server." Heddi Nabbisen | Sciencx [Online]. Available: https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/. [Accessed: ]
rf:citation
» OpenBSD ftpd 7.0: FTP server | Heddi Nabbisen | Sciencx | https://www.scien.cx/2022/02/19/openbsd-ftpd-7-0-ftp-server/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.