telnet 서비스가 안되는데 원인을 모르겠네요

sky7의 이미지

CentOS 5.3을 사용하다가,
문제가 생겨서 CentOS를 같은 버전으로 다시 설치를 했습니다.

그런데, 이상하게도 telnet 서비스가 되지 않습니다.
Administration 책과 인터넷 등을 아무리 찾아봐도 방법을 모르겠네요.

문제는... 그 서버 자신의 terminal 창에서도 자기 자신에게로 telnet 접속을 하려 해도 접속이 안됩니다.

좀 도와주셔요. 급한데... ㅜ.ㅜ

접속하려고 하면.. 출력되는 메시지는

"Authentication service cannot retrieve authentication info
Connection closed by foreign host."

이거 원 자기 자신에게도 접속이 안되니....

* 현 시스템 설정 상황
- xinetd 수퍼 데몬에 의해 telnet 서비스가 관리되며,
/etc/xinetd.d/telnet 파일의 설정에는 문제 없음.
(server = /usr/sbin/in.telnetd (<= 초기치)
또는
server = /usr/kerberos/sbin/telnetd
두 가지 다 설정해 보았으나 둘 다 역시 안됨)

- /etc/hosts.allow 리스트에
telnetd : ALL (또는 접속하려는 client pc의 ip)
in.telnetd : ALL (또는 접속하려는 client pc의 ip)
위와 같이 설정을 "ALL" 또는 "client pc의 ip" 로 바꾸어 가며 여러 차례 시도해 보았으나 역시 접속 안됨.

- /etc/hosts.deny 파일에는 아무런 설정 사항 없음.

- SELINUX (보안 리눅스) 설정 : 해제
- 방화벽 설정 하지 않음.

도대체 뭐가 문제일까요?
제발 좀 도와주세요.

개발 서버인데...
급해서.. 밤을 새워가며 아무리 찾아봐도 해결책을 모르겠네요~ ㅜ.ㅜ

* 참고로, hosts.allow 파일 첨부합니다.

perfect4의 이미지

service telnet
{
disable = no <=== 이부분은 하셨나요?
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

sky7의 이미지

네 당연히 그렇게 지정 했어도 안돼네요..

perfect4의 이미지

ssh 사용하시는게 좋을것 같습니다.

sky7의 이미지

.

pcm0279의 이미지

리눅스에서는 default로 telnet을 막고 있습니다.. ssh는 열어 놨는데.. ㅡㅡ;;
방화벽 설정을 바꾸세요..
시스템->관리->방화벽->그 외의 포트 에서 23번을 더블클릭하여 추가해 주세요..

trim703의 이미지

telnet-server 패키지는 설치하셨는지요?

익명 사용자의 이미지

이거해결됨?
저도 이오류 떠서 잘모르겟습ㄴ니다

저는 connection closed by foreign host이렇게만 뜨는데
해결하셧다면 해결방안 부탁드릴게요

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.