ssh-2.0.13 + inetd

Panayotis Vryonis vrypan at hellug.gr
Tue Mar 14 11:20:56 EET 2000


Exw to ekshs problhma:

Exw sthsei to ssh-2.0.13.
Douleuei swsta, an ksekinhsw ton sshd2 apo command line me
"sshd2".
Prospa8w na ton balw na shkwnetai apo to inetd kai exw pros8esei
thn grammh:

ssh     stream  tcp     nowait  root    /usr/sbin/tcpd
/usr/local/sbin/sshd2 -i

sto /etc/inetd.conf

Otan omws dinw apo ton remote host ssh2 192.168.1.11, kai AFOY
kalw login, to session stammataei kai blepw:

Disconnected; protocol error (Protocol error: packet too long:
-123993103.)
(diaforetiko packet-length ka8e fora).

An boh8aei, oriste ti pernw otan shkwsw ton sshd2 me "-v" me to xeri:

ARNING: Development-time debugging not compiled in.
WARNING: To enable, configure with --enable-debug and recompile.
WARNING: Development-time debugging not compiled in.
WARNING: To enable, configure with --enable-debug and recompile.
debug: Reading private host key from /etc/ssh2/hostkey
debug: Key comment: 1024-bit dsa hostkey
debug: SshUnixConfig/sshunixconfig.c:270/ssh_server_load_host_key:
Reading public host key from: /c/ssh2/hostkey.pub
debug: Becoming server.
debug: Creating listener
debug: Listener created
sshd2[16006]: Listener created on port 22.
sshd2[16006]: Daemon is running.
debug: Running event loop
sshd2[16006]: connection from "192.168.1.1"
debug: Sshd2/sshd2.c:653/new_connection_callback: Wrapping stream with
ssh_server_wrap...
debug: ssh_server_wrap: creating transport protocol
debug: ssh_server_wrap: creating userauth protocol
debug: Sshd2/sshd2.c:663/new_connection_callback: done.
debug: new_connection_callback returning
debug: ssh_sigchld_real_callback
sshd2[16006]: User vrypan's local password accepted.
sshd2[16006]: Password authentication for user vrypan accepted.
sshd2[16006]: User vrypan, coming from vrypan.yassou.localnet,
authenticated.
WARNING: ioctl I_PUSH ptem: Invalid argument
WARNING: ioctl I_PUSH ldterm: Invalid argument
debug: Setting controlling tty using TIOCSCTTY.
debug: ssh_sigchld_real_callback
debug: ssh_sigchld_process_pid: calling handler pid 16010 code 0
debug: ssh_pty_sigchld_handler: pid 16010 status 0
debug: ssh_pty_sigchld_do_callback
debug: ssh_pty_stream_destroy
sshd2[16006]: Remote host disconnected: Connection closed.
sshd2[16006]: connection lost: 'Connection closed.'
debug: Exiting event loop

(Edw, exw kanei login kai meta exw kleisei to session, ola
douleuoun kala).

Kamia idea?

Panayotis.
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/lgu.html
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list