-
[리눅스] Telnet서버/리눅스 2017. 4. 26. 21:24
Telnet
원격 제어 프로그램 ( 데이터들이 평문으로 돌아다녀서 보안에 굉장히 취약해 SSH로 대체되었다 )
기본적으로 리눅스는 putty를 사용해서 기본적으로 설치된 SSH로 원격접속을 할수 있다.
telnet port : 23
server
telnet-server.x86_64
client
putty program
telnet.x86_64
서버구축
#>yum install -y telnet-server.x86_64
#>systemctl restart telnet.socket
클라이언트 접속
putty
port번호 변경및 connetction type 변경
linux_client
#>install install -y telnet.x86_64
Complete!
#>telnet
telnet>open <ip>
login : login_id
root 로그인 푸는법 ( telnet으로 서버구축은 안할꺼지만 ... 하지말야지)
server#>vi /etc/securetty
~~~
~~
~~~
~~
pts/0
pts/1
pts/2
:wq
root계정을 추가하면 끝이다.
telnet xinetd에 등록하기
#>vi /etc/xinetd.d/telnet
server path같은경우 which를 확인해서 telnet명령어가 어디있는지 확인한다.
#>system stop telnet.socket
#>system restart xinetd
'서버 > 리눅스' 카테고리의 다른 글
[리눅스] DNS (0) 2017.04.28 [리눅스] SSH(Secure Shell) (0) 2017.04.27 [리눅스] xinetd ( 서비스관리 데몬 ) (0) 2017.04.26 [리눅스] FTP보안설정 (0) 2017.04.25 [리눅스] FTP (0) 2017.04.24