Re: cygwin + SSH2
From: Bernd Breitschaedel (berndb_at_sbox.tugraz.at)
Date: 05/30/05
- Next message: Nico Kadel-Garcia: "Re: recursive ssh invocation"
- Previous message: Bernd Nies: "Re: OpenSSH ssh-keygen and non-empty passphrase"
- In reply to: Richard E. Silverman: "Re: cygwin + SSH2"
- Next in thread: Richard E. Silverman: "Re: cygwin + SSH2"
- Reply: Richard E. Silverman: "Re: cygwin + SSH2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 30 May 2005 10:26:08 +0200
Thank you again Richard,
Richard E. Silverman wrote:
>>>>>>"BB" == Bernd Breitschaedel <berndb@sbox.tugraz.at> writes:
>
>
> BB> Hello Richard, Thank you for your link. Unfortunatly it couldn't
> BB> help me solving the problem.
>
> Did you follow the link contained in the article?
>
> http://www.snailbook.com/faq/sftp-corruption.auto.html
Yes, but havn't found out how to overcome my problem.
My try didn't succed. (I'm a linux rooky sorry)
==================
> ssh2 fslgdqx01.tu-graz.ac.at -f
Warning: Authentication failed.
Disconnected; no more authentication methods available (No further
authenticatio methods available.).
==================
> Read the last paragraph of the snailbook article.
>
> BB> But what does this "no further authentification methodes" at ssh2
> BB> mean?
>
> It means all the user authentication methods it tries have failed, and so
> it can't log in.
************
(How?) can i force ssh2 to use "keyboard interactive" authentification?
************
> BB> Can you please post the correct command to establish a connection?
>
> No, since you haven't determined what the problem is yet.
>
> http://www.snailbook.com/faq/general-debugging.auto.html
>
===========================================
Server: Suse 9.1
===========================================
Client: Cygwin
> cygcheck -s
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon May 30 10:17:21 2005
WinNT Ver 5.1 build 2600 Service Pack 2
Path: /cygdrive/c/PROGRA~1/AVL/bin
/bin/rsync
/bin
.
/cygdrive/c/PROGRA~1/AVL/bin
/bin
.
/cygdrive/c/texmf/miktex/bin
/cygdrive/c/Windows/system32
/cygdrive/c/Windows
/cygdrive/c/Windows/System32/Wbem
/cygdrive/c/Programme/Gemeinsame Dateien/Adaptec Shared/System
/cygdrive/c/Windows/system32/nls
/cygdrive/c/Windows/system32/nls/DEUTSCH
/cygdrive/c/programme/matlab6p5/bin/win32
/cygdrive/c/VXIpnp/WinNT/Bin
/cygdrive/c/Programme/Hummingbird/Connectivity/8.00/Accessories/
/cygdrive/c/Programme/Gemeinsame Dateien/Autodesk Shared/
/cygdrive/c/Programme/Gemeinsame Dateien/GTK/2.0/bin
/cygdrive/c/Programme/epstool-3.03
/cygdrive/c/Programme/SSH Secure Shell
/cygdrive/c/Programme/Intel/Fortran/Compiler80/Ia32/Bin
/cygdrive/c/Programme/Gemeinsame Dateien/Intel/Shared
Files/Ia32/Bin
/cygdrive/c/texmf/miktex/bin
/cygdrive/c/Windows/system32
/cygdrive/c/Windows
/cygdrive/c/Windows/System32/Wbem
/cygdrive/c/Programme/Gemeinsame Dateien/Adaptec Shared/System
/cygdrive/c/Windows/system32/nls
/cygdrive/c/Windows/system32/nls/DEUTSCH
/cygdrive/c/programme/matlab6p5/bin/win32
/cygdrive/c/VXIpnp/WinNT/Bin
/cygdrive/c/Programme/Hummingbird/Connectivity/8.00/Accessories/
/cygdrive/c/Programme/Gemeinsame Dateien/Autodesk Shared/
/cygdrive/c/Programme/Gemeinsame Dateien/GTK/2.0/bin
/cygdrive/c/Programme/epstool-3.03
SysDir: C:\Windows\system32
WinDir: C:\Windows
HOME = `/cygdrive/c/PROGRA~1/AVL'
PWD = `/cygdrive/c/Dokumente und Einstellungen/Administrator/Desktop'
USER = `Administrator'
Use `-r' to scan registry
a: fd N/A N/A
c: hd NTFS 76308Mb 94% CP CS UN PA FC
d: cd N/A N/A
e: hd NTFS 76332Mb 82% CP CS UN PA FC Sicherung
g: net NTFS 8192Mb 37% CP CS UN PA FC DATEN
h: net NTFS 8192Mb 37% CP CS UN PA FC DATEN
k: net NTFS 8192Mb 37% CP CS UN PA FC DATEN
C:\PROGRA~1\AVL\BASH\v2.05-6\bin /bin system textmode
C:\PROGRA~1\AVL\BASH\v2.05-6\bin /usr/bin system binmode
C:\PROGRA~1\AVL\BASH\v2.05-6\tmp /tmp system textmode
C:\Install\cygwin\lib /usr/lib system binmode
C:\Install\cygwin / system binmode
c: /cygdrive/c user binmode,noumount
e: /cygdrive/e user binmode,noumount
g: /cygdrive/g user binmode,noumount
h: /cygdrive/h user binmode,noumount
k: /cygdrive/k user binmode,noumount
Found: C:\PROGRA~1\AVL\BASH\v2.05-6\bin\bash.exe
Found: C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cat.exe
Not Found: cpp (good!)
Found: C:\PROGRA~1\AVL\BASH\v2.05-6\bin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: C:\PROGRA~1\AVL\BASH\v2.05-6\bin\ls.exe
Not Found: make
Found: C:\PROGRA~1\AVL\BASH\v2.05-6\bin\sh.exe
56k 2000/12/03 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygbz21.0.dll
45k 2001/04/25 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygform5.dll
26k 2001/04/25 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygmenu5.dll
156k 2001/04/25 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygncurses++5.dll
226k 2001/04/25 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygncurses5.dll
202k 2002/01/09 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygncurses6.dll
284k 2003/03/09 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygncurses7.dll
15k 2001/04/25 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygpanel5.dll
948k 2003/03/18 C:\PROGRA~1\AVL\BASH\v2.05-6\bin\cygwin1.dll
Cygwin DLL version info:
dll major: 1003
dll minor: 22
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
dll malloc env: 28
api major: 0
api minor: 78
shared data: 3
dll identifier: cygwin1
mount registry: 2
cygnus registry name: Cygnus Solutions
cygwin registry name: Cygwin
program options name: Program Options
cygwin mount registry name: mounts v2
cygdrive flags: cygdrive flags
cygdrive prefix: cygdrive prefix
cygdrive default prefix:
build date: Tue Mar 18 09:20:11 EST 2003
CVS tag: dontuse-21
shared id: cygwin1S3
Use -h to see help about each section
=======================================
=======================================
My ssh tries:
> ssh2 -p 1234 fslgdqx01.tu-graz.ac.at
warning: Connecting to fslgdqx01.tu-graz.ac.at failed: Destination
Unreachable
> ssh2 fslgdqx01.tu-graz.ac.at
warning: Authentication failed.
Disconnected; no more authentication methods available (No further
authenticatio
n methods available.).
> ssh2 fslgdqx01.tu-graz.ac.at -p 1234
warning: Connecting to fslgdqx01.tu-graz.ac.at failed: Destination
Unreachable
> ssh2 fslgdqx01.tu-graz.ac.at -v
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: 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
= 4563
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: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: Remote host key found from database.
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: 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: SshConnection/sshconn.c:1997: Destroying SshConn object.
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)
> ssh2 fslgdqx01.tu-graz.ac.at -d2
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: 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
= 4564
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: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: Remote host key found from database.
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: 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: SshConnection/sshconn.c:1997: Destroying SshConn object.
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)
> ssh2 fslgdqx01.tu-graz.ac.at
warning: Authentication failed.
Disconnected; no more authentication methods available (No further
authenticatio
n methods available.).
> 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
= 4566
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)
> ssh2 fslgdqx01.tu-graz.ac.at -d 3 -f
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
= 4567
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)
>
=========================================
I hope this was the correct description of my problem.
Thank you,
Bernd
- Next message: Nico Kadel-Garcia: "Re: recursive ssh invocation"
- Previous message: Bernd Nies: "Re: OpenSSH ssh-keygen and non-empty passphrase"
- In reply to: Richard E. Silverman: "Re: cygwin + SSH2"
- Next in thread: Richard E. Silverman: "Re: cygwin + SSH2"
- Reply: Richard E. Silverman: "Re: cygwin + SSH2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|