# 使用 Homebrew, apt 安装 telnetd

查看 telnetd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:telnetd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install telnetd
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install telnetd
```

  证据: Debian stable package indexes: telnetd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:telnetd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/telnetd>
- **版本:** 308
- **来源摘要:** TELNET server
- **主页:** <https://opensource.apple.com/>
- **仓库:** <https://github.com/apple-oss-distributions/remote_cmds>
- **上游文档:** <https://opensource.apple.com/>
- **许可证:** BSD-4-Clause-UC AND BSD-3-Clause
- **源码归档:** <https://github.com/apple-oss-distributions/remote_cmds/archive/refs/tags/remote_cmds-308.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 安装行为

- post-install 钩子: 未定义
- 注意事项: You may need super-user privileges to run this program properly. See the man page for more details.
- Bottle: 可用 于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 308
- 本地数据: OK
- 上游仓库: https://github.com/apple-oss-distributions/remote_cmds
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

telnetd is the server-side daemon for the TELNET virtual terminal protocol. The Apple-distributed BSD manpage describes it as a DARPA TELNET protocol server normally invoked by `inetd` for requests to the TELNET port listed in `/etc/services`.

### 项目历史

Like the client, telnetd belongs to the BSD TCP/IP remote-command family, with University of California copyright dates beginning in 1983. Its manual history and FreeBSD provenance show the daemon as operating-system infrastructure rather than a new standalone application.

The daemon implements the protocol standardized by RFC 854 and the option negotiation system documented by RFC 855. The manpage describes support for line mode, authentication modes when compiled in, optional encryption debugging, TCP keep-alives, TOS settings, alternate login programs, and manual debug startup.

### 采用历史

telnetd was historically the server counterpart to the ubiquitous telnet client and was commonly launched from an internet super-server. As secure shell became the expected remote-login mechanism, telnetd moved from default infrastructure to an optional package used for legacy environments, labs, embedded-device testing, and protocol compatibility.

Its narrower package-manager footprint compared with the telnet client reflects that shift: installing a TELNET server is operationally riskier and less common than keeping a TELNET client for diagnostics.

### 使用方式

The manpage says telnetd is normally invoked by `inetd`, but can be started manually with debugging enabled and an alternate TCP port. It delegates user verification to `login` unless authentication support and stricter modes are configured.

In the package-nerd niche, telnetd is mostly used to recreate old Unix remote-login behavior, test TELNET option negotiation, exercise clients, or run controlled legacy services. It is rarely a recommended production remote-access daemon.

### 为什么软件包爱好者会关心

telnetd is significant as the daemon half of one of the Internet's oldest terminal protocols. Its optional packaging documents the post-SSH fate of insecure network daemons: retained for compatibility and testing, but separated from default installs.

The formula is also useful to people studying inetd-era service activation, terminal negotiation, and the historical relationship between network daemons, `/etc/services`, and login programs.

### 时间线

- 1983: RFC 854 standardized TELNET.
- 1983: RFC 855 specified TELNET option documentation and assignment.
- 1983-1994: BSD telnetd manpage lineage records University of California copyrights and Berkeley manual revisions.
- 2005: FreeBSD provenance in the manpage reflects continued maintenance of the BSD-derived daemon.

### Related projects

- telnet is the companion client.
- inetd and login are part of the traditional operating-system context in which telnetd runs.
- sshd replaced telnetd for secure interactive remote login on modern systems.

### 来源

- <https://github.com/apple-oss-distributions/remote_cmds/blob/main/telnetd/telnetd.8>
- <https://www.rfc-editor.org/rfc/rfc854.txt>
- <https://www.rfc-editor.org/rfc/rfc855.txt>
- source_facts.package-manager


## 安全说明

没有找到 telnetd 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/services, /etc/gettytab, /etc/iptos
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** telnetd
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - telnetd - 0.17+2.6-3+deb13u3: normalized package name match | Debian stable package indexes: telnetd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package for inetutils-telnetd default switch | https://www.gnu.org/software/inetutils/
- Ubuntu apt - telnetd - 0.17+2.5-3ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: telnetd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional dummy package for inetutils-telnetd default switch | https://www.gnu.org/software/inetutils/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [telnet](https://pkg.so/zh-hans/brew/telnet/) - Shares the same upstream source repository.
- [mtoc](https://pkg.so/zh-hans/brew/mtoc/) - Shares the same upstream homepage.
- [bsdmake](https://pkg.so/zh-hans/brew/bsdmake/) - Shares the same upstream homepage.
- [putty](https://pkg.so/zh-hans/brew/putty/) - Shares pkgdb curated category or tags: cli, networking, remote-access, telnet.
- [inspircd](https://pkg.so/zh-hans/brew/inspircd/) - Shares pkgdb curated category or tags: cli, daemon, networking, server.
- [soapyremote](https://pkg.so/zh-hans/brew/soapyremote/) - Shares pkgdb curated category or tags: cli, networking, remote-access, server.
- [sshportal](https://pkg.so/zh-hans/brew/sshportal/) - Shares pkgdb curated category or tags: cli, networking, remote-access, server, telnet.
- [ircd-hybrid](https://pkg.so/zh-hans/brew/ircd-hybrid/) - Shares pkgdb curated category or tags: cli, daemon, networking, server.
- [passt](https://pkg.so/zh-hans/brew/passt/) - Shares pkgdb curated category or tags: cli, daemon, networking.
- [nghttp2](https://pkg.so/zh-hans/brew/nghttp2/) - Shares pkgdb curated category or tags: cli, networking, protocol.

## Combined YAML source

View the package source record on GitHub. [combined/telnetd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/telnetd.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
