Re: cygwin + SSH2

From: Bernd Breitschaedel (berndb_at_sbox.tugraz.at)
Date: 05/27/05


Date: Fri, 27 May 2005 13:14:54 +0200

Hello again,

I found more detailed output. Maybe this will help you helping me.

Greetings,
   Bernd

> ssh2 fslgdqx01.tu-graz.ac.at -d 3
debug: Connecting to fslgdqx01.tu-graz.ac.at, port 22... (SOCKS not used)
debug: Ssh2/ssh2.c:2297: Entering event loop.
debug: Ssh2Client/sshclient.c:1421: Creating transport protocol.
debug: Ssh2Transport/trcommon.c:2522: Allocating cipher: name: none,
key_len: 16
.
debug: Ssh2Transport/trcommon.c:2522: Allocating cipher: name: none,
key_len: 16
.
debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "publickey" to
usable meth
ods.
debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "password" to
usable metho
ds.
debug: Ssh2Client/sshclient.c:1462: Creating userauth protocol.
debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common/sshcommon.c:530: local ip = 129.27.113.23, local port
= 3232
debug: Ssh2Common/sshcommon.c:532: remote ip = 129.27.113.6, remote port
= 22
debug: SshConnection/sshconn.c:1945: Wrapping...
debug: Remote version: SSH-1.99-OpenSSH_3.8p1
debug: OpenSSH: Major: 3 Minor: 8 Revision: 0
debug: Ssh2Transport/trcommon.c:1518: All versions of OpenSSH handle kex
guesses
  incorrectly.
debug: Ssh2Transport/trcommon.c:1714: Computing algorithms from key
exchange.
debug: Ssh2Transport/trcommon.c:1901: lang s to c: `', lang c to s: `'
debug: Ssh2Transport/trcommon.c:1967: c_to_s: cipher 3des-cbc, mac
hmac-sha1, co
mpression none
debug: Ssh2Transport/trcommon.c:1970: s_to_c: cipher 3des-cbc, mac
hmac-sha1, co
mpression none
debug: SshProtoTrKex/trkex.c:481: Making first key exchange packet.
debug: Remote host key found from database.
debug: Ssh2Transport/trcommon.c:2522: Allocating cipher: name: 3des-cbc,
key_len
: 24.
debug: Ssh2Transport/trcommon.c:2522: Allocating cipher: name: 3des-cbc,
key_len
: 24.
debug: Ssh2Common/sshcommon.c:331: Received SSH_CROSS_STARTUP packet
from connec
tion protocol.
debug: Ssh2Common/sshcommon.c:381: Received SSH_CROSS_ALGORITHMS packet
from con
nection protocol.
debug: server offers auth methods 'publickey,keyboard-interactive'.
debug: SshStreamLocal/sshwinlocalstream.c:239: Mutex `SSH_LS_MUTEX(SSH
Accession
)' does not exist
debug: SshStreamLocal/sshwinlocalstream.c:1192: Could not open mutex of
the loca
l stream listener `SSH Accession'
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1475:
ssh_client_auth_pubkey_agent_li
st_complete err 0 num 0
debug: SshConfig/sshconfig.c:2704: Unable to open C:/Dokumente und
Einstellungen
/Administrator/Application Data/SSH/identification
debug: Ssh2AuthClient/sshauthc.c:319: Method 'publickey' disabled.
debug: server offers auth methods 'publickey,keyboard-interactive'.
debug: Ssh2Common/sshcommon.c:168: DISCONNECT received: No further
authenticatio
n methods available.
warning: Authentication failed.
debug: Ssh2/ssh2.c:168: locally_generated = TRUE
Disconnected; no more authentication methods available (No further
authenticatio
n methods available.).
debug: Ssh2Client/sshclient.c:1497: Destroying client.
debug: SshConfig/sshconfig.c:2313: Freeing pki. (host_pki != NULL,
user_pki = NU
LL)
debug: SshCertDB/cert-db.c:727: memory left 0
debug: SshConnection/sshconn.c:1997: Destroying SshConn object.
debug: Ssh2Transport/trcommon.c:657: Destroying SshTransportCommon object.
debug: SshAuthMethodClient/sshauthmethodc.c:89: Calling notification
callback.
debug: SshConfig/sshconfig.c:2313: Freeing pki. (host_pki = NULL,
user_pki = NUL
L)
debug: Ssh2Client/sshclient.c:1565: Destroying client completed.
debug: SshAuthMethodClient/sshauthmethodc.c:89: Destroying
authentication method
  array.
debug: SshAppCommon/sshappcommon.c:151: Freeing global SshRegex context.
debug: SshConfig/sshconfig.c:2313: Freeing pki. (host_pki = NULL,
user_pki = NUL
L)

Bernd Breitschaedel wrote:

> Hello experts,
>
>
> I have no deep linux knowlege. But I've to use Linux for my job.
> So please be clement if my question is stupid :-)
> (Of course I've googled in the web and in the groups but didn't succed)
>
> I want to make a ssh connection to ip XXX.XXX.XXX.XXX from winXP using
> cygwin.
>
> The ssh connection itself works with Putty and Humigbird SSH Client.
> Both use keybord-interactive authentification.
>
> But when i'm trying with cygwin i get the following:
> ===========
> > ssh xxx.xxx.xxx.xxx
> Local: Bad packet length 1349676916.
> > ssh2 xxx.xxx.xxx.xxx
> warning: Authentication failed.
> Disconnected; no more authentication methods available (No further
> authenticatio
> n methods available.).
> >
> ============
> Where is my mistake?
>
> I need the ssh connection on cygwin for data saving on xxx.xxx.xxx.xxx
> with rsync. What would be the proper rsync command?
>
>
> Thank you for you help,
>
> Bernd
>
>
>



Relevant Pages