질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

FTP와 TELNET이 안됩니다.

작성자 정보

  • 강두종 작성
  • 작성일

컨텐츠 정보

본문

방화벽 설치한 상태고요 FTP는 방화벽에 통과가능하도록 선택해서 설치했습니다.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

그런데 로컬에서 ftp 로긴하면

 

220 localhost.localdomain FTP server (Version 5.60) ready.

334 Using authentication type GSSAPI; ADAT must follow

GSSAPI accepted as authentication type

GSSAPI error major: An invalid name was supplied

GSSAPI error minor: Cannot determine realm for numeric host address

GSSAPI error: parsing name

name parsed <ftp@192.168.0.2>

 

GSSAPI error major: An invalid name was supplied

GSSAPI error minor: Cannot determine realm for numeric host address

GSSAPI error: parsing name

name parsed <host@192.168.0.2>

 

GSSAPI authentication failed

334 Using authentication type KERBEROS_V4; ADAT must follow

KERBEROS_V4 accepted as authentication type

Kerberos V4 krb_mk_req failed: You have no tickets cached

Name (192.168.0.2:root): tuchong

530 Must perform authentication before identifying USER.

Login failed.

 

이라고 나오고요 외부에서 ftp 로긴하면

530 Must perform authentication before identifying USER.

 

라고 나옵니다.

 

그리고 TELNET은 로컬에서는 로긴이 잘되는데요 외부에서는 아무것도 안됩니다.

관련자료

댓글 4

suki님의 댓글

  • suki
  • 작성일
iptables나 hosts.allow파일을 확인해보세요.

강두종님의 댓글

  • 강두종
  • 작성일
/etc/xinetd.d  의 ftp 는 다음과 같이 되있고요

# default: off
# description: The kerberized FTP server accepts FTP connections
#              that can be authenticated with Kerberos 5.
service ftp
{
disable = no
flags = REUSE
socket_type = stream       
wait = no
user = root
server = /usr/kerberos/sbin/ftpd
server_args = -l -a
log_on_failure += USERID
}

TELNET 화일은 다음과 같이 되있읍니다.

service telnet
{
          disable        = no
          flags          = REUSE
          socket_type    = stream
          wait            = no
          user            = root
          server          = /usr/sbin/in.telnetd
          log_on_failure  +=  USERID
}

어디가 잘못된 걸까요?

강두종님의 댓글

  • 강두종
  • 작성일
hosts.allow 화일은 없고요 iptables는 제가 보기에 너무 어렵더군요.

강두종님의 댓글

  • 강두종
  • 작성일
vsftp 랑 ssh 로 대충 해결봤읍니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  645 명