[bglug] HELP scp

Mcmayer bglug@lists.linux.it
Fri, 26 Jul 2002 20:28:07 +0000


|k|b|s| wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Non c'è verso di far andare scp. Questa è la sessione di debug di una 
> connessione:
> 
> root@bubu ~kbs# sshd -d
> debug1: sshd version OpenSSH_3.2.3p1
> debug1: private host key: #0 type 0 RSA1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #1 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #2 type 2 DSA
> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> Generating 768 bit RSA key.
> RSA key generation complete.
> debug1: Server will not fork when running in debugging mode.
> Connection from 65.42.154.xxx port 21327
> debug1: Client protocol version 2.0; client software version OpenSSH_3.4p1
> debug1: match: OpenSSH_3.4p1 pat OpenSSH*
> Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-1.99-OpenSSH_3.2.3p1
> debug1: list_hostkey_types: ssh-rsa,ssh-dss
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
> debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
> debug1: dh_gen_key: priv key bits set: 119/256
> debug1: bits set: 1562/3191
> debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
> debug1: bits set: 1537/3191
> debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
> debug1: kex_derive_keys
> debug1: newkeys: mode 1
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: waiting for SSH2_MSG_NEWKEYS
> debug1: newkeys: mode 0
> debug1: SSH2_MSG_NEWKEYS received
> debug1: KEX done
> debug1: userauth-request for user kbs service ssh-connection method none
> debug1: attempt 0 failures 0
> Failed none for kbs from 65.42.154.xxx port 21327 ssh2
> debug1: userauth-request for user kbs service ssh-connection method password
> debug1: attempt 1 failures 1
> Accepted password for kbs from 65.42.154.xxx port 21327 ssh2
> debug1: Entering interactive session for SSH2.
> debug1: fd 3 setting O_NONBLOCK
> debug1: fd 7 setting O_NONBLOCK
> debug1: server_init_dispatch_20
> debug1: server_input_channel_open: ctype session rchan 0 win 131072 max 32768
> debug1: input_session_request
> debug1: channel 0: new [server-session]
> debug1: session_new: init
> debug1: session_new: session 0
> debug1: session_open: channel 0
> debug1: session_open: session 0: link with channel 0
> debug1: server_input_channel_open: confirm session
> debug1: server_input_channel_req: channel 0 request exec reply 0
> debug1: session_by_channel: session 0 channel 0
> debug1: session_input_channel_req: session 0 req exec
> debug1: fd 9 setting O_NONBLOCK
> debug1: fd 11 setting O_NONBLOCK
> debug1: channel 0: rcvd eof
> debug1: channel 0: output open -> drain
> debug1: channel 0: obuf empty
> debug1: channel 0: close_write
> debug1: channel 0: output drain -> closed
> debug1: Received SIGCHLD.
> debug1: session_by_pid: pid 738
> debug1: session_exit_message: session 0 channel 0 pid 738
> debug1: channel request 0: exit-status
> debug1: session_exit_message: release channel 0
> debug1: session_close: session 0 pid 738
> debug1: channel 0: read<=0 rfd 9 len 0
> debug1: channel 0: read failed
> debug1: channel 0: close_read
> debug1: channel 0: input open -> drain
> debug1: channel 0: ibuf empty
> debug1: channel 0: send eof
> debug1: channel 0: input drain -> closed
> debug1: channel 0: send close
> debug1: channel 0: rcvd close
> debug1: channel 0: is dead
> debug1: channel 0: garbage collecting
> debug1: channel_free: channel 0: server-session, nchannels 1
> Connection closed by remote host.
> Closing connection to 65.42.154.xxx
> 
> mentre dall'altro lato ricevevo questa risposta:
> 
> kbs@ $ stderr is not a tty - where are you?
> 
> Ho provato con diverse configurazioni di ssh_config e sshd_config. 
> Ho provato anche a cancellare la directory  .ssh/ 
> Sshd mi parte come demone da rc.inet2 (Slackware). 
> Ho provato anche a upgradare alla versione 3.4p1 ma tutto come prima.
> AIUTO, non posso mica trasferire i file con W.
> 
> P.S. Il cavo è collegato, la scheda di rete funzione e il pc è alimentato.
> - -- 
> Summary of above: head -c 78 /dev/urandom 
> | k | b | s |  <kbs (at) bglug.it> 
> /ÙÖYꤼØXözv1îÛK°?...8hK¿ÍôÎ0êOEþyf¡£ðîÄp
> 0/00\OE1PJÊ?ô,AtsUÍþÒ8ÅzM~Îg­^i®¸$4®íÌð
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> Comment: KeyID 0x2870B1ED  available on  www.keyserver.net
> 
> iD8DBQE9QX9RfG0wjShwse0RAqbRAKCKkqG0MyfcgxvN3NzlG8Fxo+zRUwCffbvk
> JGM0+CfTSevw1dYJg7ionJI=
> =/8Z7
> -----END PGP SIGNATURE-----
> 
> 

Io proverei con un altro utente creato exnovo.

-- 


				McMayer
				Linux Red Hat 7.2 User ancora per poco