1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

telnetサーバ(systemd)の設定の仕方

Posted at

セキュリティがばがばのために、入ってるだけのtelnet。
勉強のために使いたかったけど、設定の仕方がわからなかったので、書き置き。

OS : arch linux

systemd関連

設定の仕方

telnetの設定は、systemdとxinetdの2種類があるらしいが、今回はsystemdを使った方法で設定した。

前準備

まず、inetutilsをインストールしておく。大抵はデフォルトで入っていると思う。

sudo pacman -Syu inetutils

telnet.socketを開く

telnetサーバの起動 = telnet.socketを開く

# ブート時に開きたい場合(有効化)
systemctl enable telnet.socket

# 一時的に開きたい場合(起動)
systemctl start telnet.socket

確認

サーバに接続してつながればOK

telnet localhost

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?