An Interest In:
Web News this Week
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
February 19, 2022 09:35 am GMT
Original Link: https://dev.to/nabbisen/openbsd-ftpd-70-ftp-server-go8
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
Let's see it's disabled by default:
$ doas rcctl check ftpdftpd(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.localftpd_flags=
Step 2: Start Daemon
Then start it:
$ doas rcctl start ftpdftpd(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.
Original Link: https://dev.to/nabbisen/openbsd-ftpd-70-ftp-server-go8
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To