Install telnet, 텔넷 설치하기

To install telnet on a Linux system, follow the steps based on the distribution you are using. Telnet is generally available in most distribution repositories but may need to be installed manually.

1. For Debian/Ubuntu-based systems

These instructions are for distributions such as Ubuntu, Debian, and Linux Mint.

  1. Update the package list:

    sudo apt update
    
  2. Install the telnet package:

    sudo apt install telnet
    
  3. Verify the installation:

    telnet --version
    

2. For CentOS/RHEL-based systems

These instructions apply to CentOS, Red Hat Enterprise Linux (RHEL), and Fedora.

  1. Update the package list:

    sudo yum update
    
  2. Install the telnet package:

    sudo yum install telnet
    
  3. Verify the installation:

    telnet
    

3. For Fedora

On Fedora systems, use the dnf package manager.

  1. Update the package list:

    sudo dnf update
    
  2. Install the telnet package:

    sudo dnf install telnet
    
  3. Verify the installation:

    telnet --version
    

4. For Arch-based systems

For Arch Linux or Manjaro, use the pacman package manager.

  1. Update the package list:

    sudo pacman -Sy
    
  2. Install the inetutils package, which includes telnet:

    sudo pacman -S inetutils
    
  3. Verify the installation:

    telnet
    

Usage Example

To use telnet, you can simply type:

telnet <hostname or IP> <port>

For example, to connect to a web server on port 80:

telnet example.com 80

댓글

이 블로그의 인기 게시물

CDPEvents in puppeteer

Using the MinIO API via curl

vsftpd default directory

How to checkout branch of remote git, 깃 리모트 브랜치 체크아웃

리눅스의 부팅과정 (프로세스, 서비스 관리)

Install and run an FTP server using Docker

MySQL GRANT

리눅스 (cron - 주기적 작업실행 데몬)