|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Michael 2:5020/400 27 Apr 2001 15:52:39 To : All Subject : Re: sshd vs telneat --------------------------------------------------------------------------------
a /etc/pam.conf подправил ?
__
MICH-RIPE
> DEFINE_HOST host {
> TERM = cons25r
> ADDRESS = ssh2:xxx.xxx.xxx.103
> SSH_AUTH = dsa:id_dsa
> }
>
> при попытке соединения запрашивется passphrase, а потом отлуп:
> Enter passphrase for DSA key 'id_dsa':
>
> Exception: access denied: 51
> Press Enter to close...
>
> Hа сервере в то же время:
> debug1: sshd version OpenSSH_2.3.0 green@FreeBSD.org 20010321
> debug1: read DSA private key done
> debug1: Forcing server key to 1152 bits to make it differ from host key.
> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> Generating 1152 bit RSA key.
> RSA key generation complete.
> debug1: Server will not fork when running in debugging mode.
> Connection from sergey.my.domain port 2192
> Connection from xxx.xxx.xxx.85 port 2192
> debug1: Client protocol version 2.1; client software version
> OpenSSH_3.27.00_Telneat
> debug1: no match: OpenSSH_3.27.00_Telneat
> Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-1.99-OpenSSH_2.3.0 green@FreeBSD.org
> 20010321
> debug1: send KEXINIT
> debug1: done
> debug1: wait KEXINIT
> debug1: got kexinit: diffie-hellman-group1-sha1
> debug1: got kexinit: ssh-dss
> debug1: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
> debug1: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
> debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160@openssh.com
> debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160@openssh.com
> debug1: got kexinit: zlib
> debug1: got kexinit: zlib
> debug1: got kexinit:
> debug1: got kexinit:
> debug1: first kex follow: 0
> debug1: reserved: 0
> debug1: done
> debug1: kex: client->server 3des-cbc hmac-sha1 zlib
> debug1: kex: server->client 3des-cbc hmac-sha1 zlib
> debug1: Wait SSH2_MSG_KEXDH_INIT.
> debug1: bits set: 498/1024
> debug1: bits set: 511/1024
> debug1: sig size 20 20
> debug1: send SSH2_MSG_NEWKEYS.
> debug1: Enabling compression at level 6.
> debug1: done: send SSH2_MSG_NEWKEYS.
> debug1: Wait SSH2_MSG_NEWKEYS.
> debug1: GOT SSH2_MSG_NEWKEYS.
> debug1: done: KEX2.
> debug1: userauth-request for user sergey service ssh-connection method
> publickey
> debug1: attempt #1
> debug1: Starting up PAM with username "sergey"
> Failed publickey for sergey from xxx.xxx.xxx.85 port 2192 ssh2
> fatal: Read from socket failed: Connection reset by peer
> debug1: Calling cleanup 0x8058330(0x0)
> debug1: Calling cleanup 0x805e72c(0x0)
> debug1: compress outgoing: raw data 32, compressed 37, factor 1.16
> debug1: compress incoming: raw data 567, compressed 559, factor 0.99
>
> Что я делаю не так?
> Заранее спасибо за ответы...
>
> --
> ... fido7 - это гейт плюс фидолукизация всей страны. (KSV)
>
>
--- ifmail v.2.15dev5
* Origin: NTUU "KPI" (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/129332306f827.html, оценка из 5, голосов 10
|