Results 1 to 4 of 4

Thread: Не могу подключиться по SSH

  1. #1

    Не могу подключиться по SSH

    Подключаюсь с Ubuntu 8.04 по Wi-Fi - подключиться не могу, при приеме пароля виснет консоль, подключаюсь с этого же компа по LAN и все отлично подключается. Также по LAN успешно подключается комп с вендой с помощью Putty. Также удачного подключения можно добиться подключаясь по Wi-Fi со смартфона с помощью симбиановской Putty.

    Скорее всего проблема не на раутере а в убунте, может кто помочь советом?

    Вот протокол подключения когда консоль виснет при приеме пароля:

    ssh -v -v admin@192.168.1.1
    OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to 192.168.1.1 [192.168.1.1] port 22.
    debug1: Connection established.
    debug1: identity file /home/oleg/.ssh/identity type -1
    debug1: identity file /home/oleg/.ssh/id_rsa type -1
    debug1: identity file /home/oleg/.ssh/id_dsa type -1
    debug1: Remote protocol version 2.0, remote software version dropbear_0.50
    debug1: no match: dropbear_0.50
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
    debug2: fd 3 setting O_NONBLOCK
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
    debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
    debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
    debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: kex_parse_kexinit: diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
    debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,aes256-cbc,twofish256-cbc,twofish-cbc,twofish128-cbc,blowfish-cbc
    debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,aes256-cbc,twofish256-cbc,twofish-cbc,twofish128-cbc,blowfish-cbc
    debug2: kex_parse_kexinit: hmac-sha1-96,hmac-sha1,hmac-md5
    debug2: kex_parse_kexinit: hmac-sha1-96,hmac-sha1,hmac-md5
    debug2: kex_parse_kexinit: none
    debug2: kex_parse_kexinit: none
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: mac_setup: found hmac-md5
    debug1: kex: server->client aes128-cbc hmac-md5 none
    debug2: mac_setup: found hmac-md5
    debug1: kex: client->server aes128-cbc hmac-md5 none
    debug2: dh_gen_key: priv key bits set: 123/256
    debug2: bits set: 522/1024
    debug1: sending SSH2_MSG_KEXDH_INIT
    debug1: expecting SSH2_MSG_KEXDH_REPLY
    debug1: Host '192.168.1.1' is known and matches the RSA host key.
    debug1: Found key in /home/oleg/.ssh/known_hosts:1
    debug2: bits set: 519/1024
    debug1: ssh_rsa_verify: signature correct
    debug2: kex_derive_keys
    debug2: set_newkeys: mode 1
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug2: set_newkeys: mode 0
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug2: service_accept: ssh-userauth
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug2: key: /home/oleg/.ssh/identity ((nil))
    debug2: key: /home/oleg/.ssh/id_rsa ((nil))
    debug2: key: /home/oleg/.ssh/id_dsa ((nil))
    debug1: Authentications that can continue: publickey,password
    debug1: Next authentication method: publickey
    debug1: Trying private key: /home/oleg/.ssh/identity
    debug1: Trying private key: /home/oleg/.ssh/id_rsa
    debug1: Trying private key: /home/oleg/.ssh/id_dsa
    debug2: we did not send a packet, disable method
    debug1: Next authentication method: password
    admin@192.168.1.1's password:
    debug2: we sent a password packet, wait for reply
    debug1: Authentication succeeded (password).
    debug1: channel 0: new [client-session]
    debug2: channel 0: send open
    debug1: Entering interactive session.
    debug2: callback start
    debug2: client_session2_setup: id 0
    debug2: channel 0: request pty-req confirm 0
    debug1: Sending environment.
    debug1: Sending env LANG = en_US.UTF-8
    debug2: channel 0: request env confirm 0
    debug2: channel 0: request shell confirm 0
    debug2: fd 3 setting TCP_NODELAY
    debug2: callback done
    debug2: channel 0: open confirm rwindow 24576 rmax 32768

  2. #2
    Может кто помочь?

  3. #3

    Помогите плиз!

    Всем добрый вечер! Не могу сам сделать! Извените за глупуй вопрос, но я не могу!
    Недавно приобрел роутер Asus WL-500g Premium и диск на 2 терабайта. Так вот в чем задача. Мне нужно создать тунель SSH, чтобы я мог обращаться к своему диску через инет! У диска есть интерфейс Ethernet. Т.е. я могу к нему обращаться даже при выключенном компе.
    На форуме прочитал, что можно на роутере Asus WL-500g Premium поднять SSH сервер и создав тунель обращаться к этому диску по защищенному каналу.
    Здесь же на форуме нашел вот такую инструкцию, чтобы поднять SSH сервер:

    mkdir -p /usr/local/etc/dropbear
    dropbearkey -t dss -f /usr/local/etc/dropbear/dropbear_dss_host_key
    dropbearkey -t rsa -f /usr/local/etc/dropbear/dropbear_rsa_host_key
    mkdir -p /usr/local/sbin/
    echo "#!/bin/sh" >> /usr/local/sbin/post-boot
    cp /usr/local/sbin/post-boot /usr/local/sbin/post-firewall
    cp /usr/local/sbin/post-boot /usr/local/sbin/post-mount
    cp /usr/local/sbin/post-boot /usr/local/sbin/pre-shutdown
    chmod +x /usr/local/sbin/p*
    echo "dropbear > /dev/null 2>&1" >> /usr/local/sbin/post-boot
    dropbear > /dev/null 2>&1
    flashfs save
    flashfs commit
    flashfs enable

    Сделал как в этой инструкции и незнаю, что мне делать дальше. Мне нужно чтобы я мог обращаться к своему диску удаленно как к сетевому диску.

    Я скачал в инете прогу: SSH Tunel, но не могу подконектиться к SSH серверу и просматривать свой диск!

    ПОМОГИТЕ ПОЖАЛУЙСТО! НЕЗНАЮ УЖЕ ЧТО ДЕЛАТЬ!
    Заранее спасибо!

  4. #4
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805

Similar Threads

  1. Не могу извне подключиться к роутеру...
    By starmajor in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 2
    Last Post: 19-05-2007, 12:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •