This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.5.19: Problem with ssh


Hi,

I have problems ssh-ing to a cygwin installed on Windows xp. I know
this is an old issue, however I scoured all the past issues with this
and have not found a solution that worked for me (short of finding an
older cygwin release and re-installing).

Basically I installed Cygwin 1.5.19 and done all of the followings:

install ssh, privilege separation=no, CYGWIN= ntsec tty content of:


original passwd:




SYSTEM:*:18:544:,S-1-5-18::

Administrators:*:544:544:,S-1-5-32-544::

Administrator:unused_by_nt/2000/xp:500:513:U-LT-ESURJAWINATA\Administrator,S-1-5-21-2801439982-2106517767-3757435101-500:/home/Administrator:/bin/bash

ASPNET:unused_by_nt/2000/xp:1010:513:ASP.NET Machine
Account,U-LT-ESURJAWINATA\ASPNET,S-1-5-21-2801439982-2106517767-3757435101-1010:/home/ASPNET:/bin/bash

Guest:unused_by_nt/2000/xp:501:513:U-LT-ESURJAWINATA\Guest,S-1-5-21-2801439982-2106517767-3757435101-501:/home/Guest:/bin/bash

HelpAssistant:unused_by_nt/2000/xp:1007:513:Remote Desktop Help
Assistant Account,U-LT-ESURJAWINATA\HelpAssistant,S-1-5-21-2801439982-2106517767-3757435101-1007:/home/HelpAssistant:/bin/bash

MI_Viewer:unused_by_nt/2000/xp:1011:513:MI_Viewer,U-LT-ESURJAWINATA\MI_Viewer,S-1-5-21-2801439982-2106517767-3757435101-1011:/home/MI_Viewer:/bin/bash

sshd:unused_by_nt/2000/xp:1009:513:sshd
privsep,U-LT-ESURJAWINATA\sshd,S-1-5-21-2801439982-2106517767-3757435101-1009:/var/empty:/bin/bash

SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmond,S=Washington,C=US,U-LT-ESURJAWINATA\SUPPORT_388945a0,S-1-5-21-2801439982-2106517767-3757435101-1002:/home/SUPPORT_388945a0:/bin/bash

esurjawinata:unused_by_nt/2000/xp:20854:10545:esurjawinata,U-MERC-NET\esurjawinata,S-1-5-21-1788835140-1754742977-925700815-10854:/cygdrive/c/Documents
and Settings/esurjawinata:/bin/bash



original group:



root:S-1-5-32-544:0:

SYSTEM:S-1-5-18:18:

None:S-1-5-21-2801439982-2106517767-3757435101-513:513:

Administrators:S-1-5-32-544:544:

Backup Operators:S-1-5-32-551:551:

Guests:S-1-5-32-546:546:

Network Configuration Operators:S-1-5-32-556:556:

Power Users:S-1-5-32-547:547:

Remote Desktop Users:S-1-5-32-555:555:

Replicator:S-1-5-32-552:552:

Users:S-1-5-32-545:545:

HelpServicesGroup:S-1-5-21-2801439982-2106517767-3757435101-1001:1001:

ORA_DBA:S-1-5-21-2801439982-2106517767-3757435101-1008:1008:

mkgroup-l-d:S-1-5-32-545:10545:



ran mkpasswd –l


SYSTEM:*:18:544:,S-1-5-18::


Administrators:*:544:544:,S-1-5-32-544::

Administrator:unused_by_nt/2000/xp:500:513:U-LT-ESURJAWINATA\Administrator,S-1-5

-21-2801439982-2106517767-3757435101-500:/home/Administrator:/bin/bash

ASPNET:unused_by_nt/2000/xp:1010:513:ASP.NET Machine Account,U-LT-ESURJAWINATA\A

SPNET,S-1-5-21-2801439982-2106517767-3757435101-1010:/home/ASPNET:/bin/bash

Guest:unused_by_nt/2000/xp:501:513:U-LT-ESURJAWINATA\Guest,S-1-5-21-2801439982-2

106517767-3757435101-501:/home/Guest:/bin/bash

HelpAssistant:unused_by_nt/2000/xp:1007:513:Remote Desktop Help Assistant Accoun

t,U-LT-ESURJAWINATA\HelpAssistant,S-1-5-21-2801439982-2106517767-3757435101-1007

:/home/HelpAssistant:/bin/bash

MI_Viewer:unused_by_nt/2000/xp:1011:513:MI_Viewer,U-LT-ESURJAWINATA\MI_Viewer,S-

1-5-21-2801439982-2106517767-3757435101-1011:/home/MI_Viewer:/bin/bash

sshd:unused_by_nt/2000/xp:1009:513:sshd privsep,U-LT-ESURJAWINATA\sshd,S-1-5-21-

2801439982-2106517767-3757435101-1009:/var/empty:/bin/bash

SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmon

d,S=Washington,C=US,U-LT-ESURJAWINATA\SUPPORT_388945a0,S-1-5-21-2801439982-21065

17767-3757435101-1002:/home/SUPPORT_388945a0:/bin/bash



ran mkpasswd –d –u esurjawinata (for the users I want to use to ssh)


esurjawinata:unused_by_nt/2000/xp:20854:10513:Eric Surjawinata,U-MERC-NET\esurja


winata,S-1-5-21-1788835140-1754742977-925700815-10854://supernova/home2/esurjawi

nata:/bin/bash



ran mkpasswd –d (result too many too list)


observation: no group for '20854', one group for '10513'


Domain Users:S-1-5-21-1788835140-1754742977-925700815-513:10513:



Tried editing passwd and group manually, adding both group 513 and 10513
Tried editing primary group for user esurjawinata to 513, and 10513


Output from ssh –v


$ ssh -v esurjawinata@lt-esurjawinata

OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005

debug1: Reading configuration data /etc/ssh_config

debug1: Connecting to lt-esurjawinata [192.168.13.52] port 22.

debug1: Connection established.

debug1: identity file /cygdrive/c/Documents and Settings/esurjawinata/.ssh/ident

ity type -1

debug1: identity file /cygdrive/c/Documents and Settings/esurjawinata/.ssh/id_rs

a type -1

debug1: identity file /cygdrive/c/Documents and Settings/esurjawinata/.ssh/id_ds

a type -1

debug1: Remote protocol version 1.99, remote software version OpenSSH_4.3

debug1: match: OpenSSH_4.3 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_4.3

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: server->client aes128-cbc hmac-md5 none

debug1: kex: client->server aes128-cbc hmac-md5 none

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

debug1: Host 'lt-esurjawinata' is known and matches the RSA host key.

debug1: Found key in /cygdrive/c/Documents and Settings/esurjawinata/.ssh/known_

hosts:2

debug1: ssh_rsa_verify: signature correct

debug1: SSH2_MSG_NEWKEYS sent

debug1: expecting SSH2_MSG_NEWKEYS

debug1: SSH2_MSG_NEWKEYS received

debug1: SSH2_MSG_SERVICE_REQUEST sent

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug1: Authentications that can continue: publickey,password,keyboard-interacti

ve

debug1: Next authentication method: publickey

debug1: Trying private key: /cygdrive/c/Documents and Settings/esurjawinata/.ssh

/identity

debug1: Trying private key: /cygdrive/c/Documents and Settings/esurjawinata/.ssh

/id_rsa

debug1: Trying private key: /cygdrive/c/Documents and Settings/esurjawinata/.ssh

/id_dsa

debug1: Next authentication method: keyboard-interactive

debug1: Authentications that can continue:
publickey,password,keyboard-interactive

debug1: Next authentication method: password

esurjawinata@lt-esurjawinata's password:

debug1: Authentication succeeded (password).

debug1: channel 0: new [client-session]

debug1: Entering interactive session.

Last login: Wed May 24 11:02:26 2006 from lt-esurjawinata



Nothing works! Have I missed anything simple?



Thanks in advance,

Eric

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]