SSH 접속이 갑자기 이상합니다..

sadrove의 이미지

페도라코어3입니다...
Xshell 2.0 Beta로 SSH접속을 잘해왔었습니다..
그런데 아래와 같이 잘 진행되다가..
Access granted. 부분에서 멈춥니다..
갑자기 왜 이럴까요...
ㅠ.ㅠ..
도움 부탁드립니다...

Quote:
[20:58:21] Version exchange initiated...
[20:58:21] server: SSH-1.99-OpenSSH_3.9p1
[20:58:21] client: SSH-2.0-libssh_1.3.3.0 1975 NetSarang Computer, Inc.
[20:58:21] SSH2 is selected.
[20:58:21] Algorithm negotiation initiated...
[20:58:21] key exchange: diffie-hellman-group1-sha1
[20:58:21] host key: ssh-dss
[20:58:21] outgoing encryption: aes128-cbc
[20:58:21] incoming encryption: aes128-cbc
[20:58:21] outgoing mac: hmac-sha1
[20:58:21] incoming mac: hmac-sha1
[20:58:21] outgoing compression: zlib
[20:58:21] incoming compression: zlib
[20:58:21] Host authentication initiated...
[20:58:21] Hostkey fingerprint:
[20:58:21] ssh-dsa 1024 fe:ca:ef:ae:b2:5d:3c:78:17:c0:90:5c:f5:4d:29:a0
[20:58:21] Accepted. Verifying host key...
[20:58:21] Verified.
[20:58:21] User authentication initiated...
[20:58:21] Sent user name 'root'.
[20:58:21] Sent password.
[20:58:24] Access granted.
웃는 남자의 이미지

user 가 root 네요.
일반적으로 root 의 접속은 설정에서 막아두는 편이므로,
sshd.conf 에서 PermitRootLogin no을 확인해보세요

----------------------------------------
Nothing left after Nirvana.

sadrove의 이미지

답변 감사드립니다..
find로 찾아봤는데찾아보니 sshd.conf가 /etc/log.d/conf/services/sshd.conf에 있는 파일이 맞나요? 다른 곳엔 없던데..
PermitRootLogin no 란 부분이 없네요..ㅠ.ㅠ..
sshd.conf 내용은 아래와 같습니다.

Quote:

###########################################################################
# $Id: sshd.conf,v 1.12 2002/10/12 02:08:09 kirk Exp $
###########################################################################

# You can put comments anywhere you want to. They are effective for the
# rest of the line.

# this is in the format of <name> = <value>. Whitespace at the beginning
# and end of the lines is removed. Whitespace before and after the = sign
# is removed. Everything is case *insensitive*.

# Yes = True = On = 1
# No = False = Off = 0

Title = "SSHD"

# Which logfile group...
LogFile = secure
LogFile = messages

# Only give lines pertaining to the sshd service...
*OnlyService = sshd
*RemoveHeaders


그리고 혹시나해서 root가 아닌 다른 아이디로 접속해봤는데
똑같은 증상이 나타납니다..ㅠ.ㅠ..
갑자기 왜 이러는건지...
sadrove의 이미지

/etc/ssh/sshd_config 란 파일을 보니..
웃는남자 님께서 알려주신 부분이 있네요..
어쨋거나 저쨌거나^^...중요한건 root가 아니더라도 동일한 증상이...흑...ㅠ.ㅠ...

sadrove의 이미지

에고..계속 답변다네요..
다른 ssh 툴로는 접속이 잘 되네요..
xshell 프로그램 설정 문제 같습니다..
어쨋든 읽어주신 분들 감사..^^..

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.