Languages

8 posts / 0 new
Last post
itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Languages

I have installed the latest version of copSSH on Win2003 Server Standard SP1 without any problem. I could to connect with and without private key authentication. Everything is fine.
The problem starting when I installed to a Win2003 Server Standard SP1 Hungarian version. Everything similar to the previous installation, but the private key authentication is not working. When i tiped the username, i get the following message: "Network error: Software caused connection abort"
If i not use the private key, will prompted for password.

Sorry for my English :)

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

Copssh supports localized windows versions. Can you start your ssh command with '-vv' switch at client side and check also application event log at server side for error messages ?

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

First! Thank you the fast reply!
The server's applicatoin event log contains the following entry:

Esemény típusa: Hiba
Esemény forrása: sshd
Esemény kategóriája: Nincs
Esemény azonosítója: 0
Dátum: 2006.01.17.
Idő: 12:33:59
Felhasználó: V2003HU\SvcCOPSSH
Számítógép: V2003HU
Leírás:
Az eseményazonosító ( 0 ) leírása a forrásban ( sshd ) nem található.
A helyi számítógép nem rendelkezhet a szükséges rendszerleíró információkkal
vagy az üzenet DLL fájljaival ahhoz, hogy távoli számítógépekről
kapott üzeneteket tudjanak megjeleníteni.
Az /AUXSOURCE= flag paraméter használatával megjelenítheti a leírást,
a részleteket a súgó tartalmazza.
A következő információ az esemény része: sshd : PID 596 : fatal: seteuid 500: No such process.

Here is the re-translated version by me... :o This maybe help for you.

even type: error
event source: sshd
event category: none
event id: 0
date: 2006.01.17.
time: 12:33:59
user: V2003HU\SvcCOPSSH
computer: V2003HU
description:
The event handler's ( 0 ) description not found in the source ( sshd ).
The local machine doesn't have system descriptive information or message
DLL files, for visualize messages from remote compute.
The use of /AUXSOURCE= flag parameter showing the description, the details in the help.
The next information is part of the event:
sshd : PID 596 : fatal: seteuid 500: No such process.

I used the PuTTY 0.58, and i'm checked in the 'Log SSH packet data' checkbox and get the following log:
(I hope this is similar to the '-vv' parameter)

Event Log: Writing new session log (SSH packets mode) to file: putty.log
Event Log: Looking up host "192.168.120.55"
Event Log: Connecting to 192.168.120.55 port 22
Event Log: Server version: SSH-2.0-OpenSSH_4.2
Event Log: We claim version: SSH-2.0-PuTTY_Release_0.58
Event Log: Using SSH protocol version 2
Incoming packet type 20 / 0x14 (SSH2_MSG_KEXINIT)
00000000 86 bb f5 06 fb b6 e6 36 83 99 7d f6 59 23 62 ce .......6..}.Y#b.
00000010 00 00 00 59 64 69 66 66 69 65 2d 68 65 6c 6c 6d ...Ydiffie-hellm
00000020 61 6e 2d 67 72 6f 75 70 2d 65 78 63 68 61 6e 67 an-group-exchang
00000030 65 2d 73 68 61 31 2c 64 69 66 66 69 65 2d 68 65 e-sha1,diffie-he
00000040 6c 6c 6d 61 6e 2d 67 72 6f 75 70 31 34 2d 73 68 llman-group14-sh
00000050 61 31 2c 64 69 66 66 69 65 2d 68 65 6c 6c 6d 61 a1,diffie-hellma
00000060 6e 2d 67 72 6f 75 70 31 2d 73 68 61 31 00 00 00 n-group1-sha1...
00000070 0f 73 73 68 2d 72 73 61 2c 73 73 68 2d 64 73 73 .ssh-rsa,ssh-dss
00000080 00 00 00 9d 61 65 73 31 32 38 2d 63 62 63 2c 33 ....aes128-cbc,3
00000090 64 65 73 2d 63 62 63 2c 62 6c 6f 77 66 69 73 68 des-cbc,blowfish
000000a0 2d 63 62 63 2c 63 61 73 74 31 32 38 2d 63 62 63 -cbc,cast128-cbc
000000b0 2c 61 72 63 66 6f 75 72 31 32 38 2c 61 72 63 66 ,arcfour128,arcf
000000c0 6f 75 72 32 35 36 2c 61 72 63 66 6f 75 72 2c 61 our256,arcfour,a
000000d0 65 73 31 39 32 2d 63 62 63 2c 61 65 73 32 35 36 es192-cbc,aes256
000000e0 2d 63 62 63 2c 72 69 6a 6e 64 61 65 6c 2d 63 62 -cbc,rijndael-cb
000000f0 63 40 6c 79 73 61 74 6f 72 2e 6c 69 75 2e 73 65 c@lysator.liu.se
00000100 2c 61 65 73 31 32 38 2d 63 74 72 2c 61 65 73 31 ,aes128-ctr,aes1
00000110 39 32 2d 63 74 72 2c 61 65 73 32 35 36 2d 63 74 92-ctr,aes256-ct
00000120 72 00 00 00 9d 61 65 73 31 32 38 2d 63 62 63 2c r....aes128-cbc,
00000130 33 64 65 73 2d 63 62 63 2c 62 6c 6f 77 66 69 73 3des-cbc,blowfis
00000140 68 2d 63 62 63 2c 63 61 73 74 31 32 38 2d 63 62 h-cbc,cast128-cb
00000150 63 2c 61 72 63 66 6f 75 72 31 32 38 2c 61 72 63 c,arcfour128,arc
00000160 66 6f 75 72 32 35 36 2c 61 72 63 66 6f 75 72 2c four256,arcfour,
00000170 61 65 73 31 39 32 2d 63 62 63 2c 61 65 73 32 35 aes192-cbc,aes25
00000180 36 2d 63 62 63 2c 72 69 6a 6e 64 61 65 6c 2d 63 6-cbc,rijndael-c
00000190 62 63 40 6c 79 73 61 74 6f 72 2e 6c 69 75 2e 73 bc@lysator.liu.s
000001a0 65 2c 61 65 73 31 32 38 2d 63 74 72 2c 61 65 73 e,aes128-ctr,aes
000001b0 31 39 32 2d 63 74 72 2c 61 65 73 32 35 36 2d 63 192-ctr,aes256-c
000001c0 74 72 00 00 00 55 68 6d 61 63 2d 6d 64 35 2c 68 tr...Uhmac-md5,h
000001d0 6d 61 63 2d 73 68 61 31 2c 68 6d 61 63 2d 72 69 mac-sha1,hmac-ri
000001e0 70 65 6d 64 31 36 30 2c 68 6d 61 63 2d 72 69 70 pemd160,hmac-rip
000001f0 65 6d 64 31 36 30 40 6f 70 65 6e 73 73 68 2e 63 emd160@openssh.c
00000200 6f 6d 2c 68 6d 61 63 2d 73 68 61 31 2d 39 36 2c om,hmac-sha1-96,
00000210 68 6d 61 63 2d 6d 64 35 2d 39 36 00 00 00 55 68 hmac-md5-96...Uh
00000220 6d 61 63 2d 6d 64 35 2c 68 6d 61 63 2d 73 68 61 mac-md5,hmac-sha
00000230 31 2c 68 6d 61 63 2d 72 69 70 65 6d 64 31 36 30 1,hmac-ripemd160
00000240 2c 68 6d 61 63 2d 72 69 70 65 6d 64 31 36 30 40 ,hmac-ripemd160@
00000250 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 68 6d 61 63 openssh.com,hmac
00000260 2d 73 68 61 31 2d 39 36 2c 68 6d 61 63 2d 6d 64 -sha1-96,hmac-md
00000270 35 2d 39 36 00 00 00 1a 6e 6f 6e 65 2c 7a 6c 69 5-96....none,zli
00000280 62 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 7a 6c b@openssh.com,zl
00000290 69 62 00 00 00 1a 6e 6f 6e 65 2c 7a 6c 69 62 40 ib....none,zlib@
000002a0 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 7a 6c 69 62 openssh.com,zlib
000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 .............
Outgoing packet type 20 / 0x14 (SSH2_MSG_KEXINIT)
00000000 82 f6 31 db 6c 53 17 64 d6 64 d4 3f d8 da be 19 ..1.lS.d.d.?....
00000010 00 00 00 59 64 69 66 66 69 65 2d 68 65 6c 6c 6d ...Ydiffie-hellm
00000020 61 6e 2d 67 72 6f 75 70 2d 65 78 63 68 61 6e 67 an-group-exchang
00000030 65 2d 73 68 61 31 2c 64 69 66 66 69 65 2d 68 65 e-sha1,diffie-he
00000040 6c 6c 6d 61 6e 2d 67 72 6f 75 70 31 34 2d 73 68 llman-group14-sh
00000050 61 31 2c 64 69 66 66 69 65 2d 68 65 6c 6c 6d 61 a1,diffie-hellma
00000060 6e 2d 67 72 6f 75 70 31 2d 73 68 61 31 00 00 00 n-group1-sha1...
00000070 0f 73 73 68 2d 72 73 61 2c 73 73 68 2d 64 73 73 .ssh-rsa,ssh-dss
00000080 00 00 00 82 61 65 73 32 35 36 2d 63 62 63 2c 72 ....aes256-cbc,r
00000090 69 6a 6e 64 61 65 6c 32 35 36 2d 63 62 63 2c 72 ijndael256-cbc,r
000000a0 69 6a 6e 64 61 65 6c 2d 63 62 63 40 6c 79 73 61 ijndael-cbc@lysa
000000b0 74 6f 72 2e 6c 69 75 2e 73 65 2c 61 65 73 31 39 tor.liu.se,aes19
000000c0 32 2d 63 62 63 2c 72 69 6a 6e 64 61 65 6c 31 39 2-cbc,rijndael19
000000d0 32 2d 63 62 63 2c 61 65 73 31 32 38 2d 63 62 63 2-cbc,aes128-cbc
000000e0 2c 72 69 6a 6e 64 61 65 6c 31 32 38 2d 63 62 63 ,rijndael128-cbc
000000f0 2c 62 6c 6f 77 66 69 73 68 2d 63 62 63 2c 33 64 ,blowfish-cbc,3d
00000100 65 73 2d 63 62 63 00 00 00 82 61 65 73 32 35 36 es-cbc....aes256
00000110 2d 63 62 63 2c 72 69 6a 6e 64 61 65 6c 32 35 36 -cbc,rijndael256
00000120 2d 63 62 63 2c 72 69 6a 6e 64 61 65 6c 2d 63 62 -cbc,rijndael-cb
00000130 63 40 6c 79 73 61 74 6f 72 2e 6c 69 75 2e 73 65 c@lysator.liu.se
00000140 2c 61 65 73 31 39 32 2d 63 62 63 2c 72 69 6a 6e ,aes192-cbc,rijn
00000150 64 61 65 6c 31 39 32 2d 63 62 63 2c 61 65 73 31 dael192-cbc,aes1
00000160 32 38 2d 63 62 63 2c 72 69 6a 6e 64 61 65 6c 31 28-cbc,rijndael1
00000170 32 38 2d 63 62 63 2c 62 6c 6f 77 66 69 73 68 2d 28-cbc,blowfish-
00000180 63 62 63 2c 33 64 65 73 2d 63 62 63 00 00 00 17 cbc,3des-cbc....
00000190 68 6d 61 63 2d 73 68 61 31 2c 68 6d 61 63 2d 6d hmac-sha1,hmac-m
000001a0 64 35 2c 6e 6f 6e 65 00 00 00 17 68 6d 61 63 2d d5,none....hmac-
000001b0 73 68 61 31 2c 68 6d 61 63 2d 6d 64 35 2c 6e 6f sha1,hmac-md5,no
000001c0 6e 65 00 00 00 09 7a 6c 69 62 2c 6e 6f 6e 65 00 ne....zlib,none.
000001d0 00 00 09 7a 6c 69 62 2c 6e 6f 6e 65 00 00 00 00 ...zlib,none....
000001e0 00 00 00 00 00 00 00 00 00 .........
Event Log: Doing Diffie-Hellman group exchange
Outgoing packet type 30 / 0x1e (SSH2_MSG_KEX_DH_GEX_REQUEST)
00000000 00 00 08 00 ....
Incoming packet type 31 / 0x1f (SSH2_MSG_KEX_DH_GEX_GROUP)
00000000 00 00 01 01 00 f8 f5 4d a4 e1 f2 32 a9 d0 51 04 .......M...2..Q.
00000010 b8 07 dc be a5 53 c1 e6 06 fe b1 cf 14 9d eb b9 .....S..........
00000020 92 43 aa a7 a3 54 61 6f d9 53 68 eb cc 1a 58 c8 .C...Tao.Sh...X.
00000030 bc b8 7f b9 93 f7 31 40 0a 41 3e 07 e3 5b 1a dd ......1@.A>..[..
00000040 d6 48 49 73 e1 73 48 35 fe fd c2 14 da ca 8c 08 .HIs.sH5........
00000050 44 28 5a 67 0d 03 bb 3e 1a 5b 5e 14 dc 6f 3b 20 D(Zg...>.[^..o;
00000060 ea ac 8f 18 eb 6c 48 aa 56 04 f2 1e be ea 3c 86 .....lH.V.....4 b4 48 cf 2f .,...k.}=. T.H./
000000f0 be 8c 7f 13 5b 58 41 b5 41 07 6f 86 41 18 b7 16 ....[XA.A.o.A...
00000100 0c e9 e9 c7 0f .....
Incoming packet type 33 / 0x21 (SSH2_MSG_KEX_DH_GEX_REPLY)
00000000 00 00 01 15 00 00 00 07 73 73 68 2d 72 73 61 00 ........ssh-rsa.
00000010 00 00 01 23 00 00 01 01 00 b1 d4 ef 1d 1b 0a f8 ...#............
00000020 66 0b 3f 86 49 fd be 89 bf 08 fb e0 a1 76 b8 5a f.?.I........v.Z
00000030 e9 7a aa 16 0f d5 38 dc 2c 16 5e 75 c6 a0 6e 23 .z....8.,.^u..n#
00000040 99 e4 b3 cf bf 7b 61 a0 3e 0d 4a e9 99 8d c4 a4 .....{a.>.J.....
00000050 bd 74 71 5b 73 2d 75 e2 0a 80 d7 b2 f0 f3 b7 1c .tq[s-u.........
00000060 da 6e 92 ed 5b 9a f7 ba 6f 2b ee 24 78 c3 24 b9 .n..[...o+.$x.$.
00000070 80 c2 1e 11 34 d9 a7 fe 4a 9b ad 7c ec 35 a3 00 ....4...J..|.5..
00000080 d2 5b 6f a3 cf 18 5e c2 b0 65 37 40 09 99 c4 72 .[o...^..e7@...r
00000090 1f 45 c2 dc 9f 3e 43 01 72 e9 17 80 44 dc 65 23 .E...>C.r...D.e#
000000a0 7d dd a7 84 4b 06 d8 01 0d aa c4 86 d5 ce c5 b1 }...K...........
000000b0 95 cd 5a a0 23 13 c2 6e 9c 3f 21 90 1d d4 34 9e ..Z.#..n.?!...4.
000000c0 51 9e c0 37 0a 78 ce f8 f1 26 33 36 5e 2c 8a 85 Q..7.x...&36^,..
000000d0 52 25 d6 74 4d 92 4e 89 af a6 b1 b6 3d 91 18 12 R%.tM.N.....=...
000000e0 c6 50 59 e5 7b 22 f6 c7 f7 6b af fd e0 91 83 6c .PY.{"...k.....l
000000f0 af c0 ec b3 db ae 5f 6b 0d fd ea 73 f2 37 35 5f ......_k...s.75_
00000100 89 bb f0 b5 4f 51 01 1d 86 6d 10 70 18 53 c4 14 ....OQ...m.p.S..
00000110 ea fa 44 db 3f e2 41 a3 a5 00 00 01 00 38 42 46 ..D.?.A......8BF
00000120 46 04 1e c2 e8 a6 04 b1 03 ee 00 84 ca 20 b0 de F............ ..
00000130 f0 99 7c 78 28 6d 2a 92 39 0c 6a b7 da 68 47 f7 ..|x(m*.9.j..hG.
00000140 23 29 17 5f 7d be 3f ee 69 49 05 97 3d 22 b0 97 #)._}.?.iI..="..
00000150 4d 18 61 61 5f ac 0d ce 7f 05 06 36 c1 af 1c c8 M.aa_......6....
00000160 11 23 a5 71 0f 28 19 d6 24 ad dc 80 f8 19 18 c5 .#.q.(..$.......
00000170 e8 f3 b6 8e f3 04 4d a8 d1 4a 8e 51 96 6a 95 d3 ......M..J.Q.j..
00000180 47 52 30 89 c4 15 a1 c5 b1 f1 33 c3 04 52 8e 1e GR0.......3..R..
00000190 89 77 0e b5 89 e3 00 b0 79 cc aa 87 ba 53 09 e5 .w......y....S..
000001a0 c3 0a ed cf 8c 49 db 3f b5 8d 4b 3c 5a 9c c5 c6 .....I.?..K......7..!HddT.
000001d0 81 d2 aa 6d 20 29 ef 6e fb 5f 9e 51 b2 bf c4 9c ...m ).n._.Q....
000001e0 39 70 7b 8f 42 16 82 a2 5a 03 45 71 41 06 7b 3f 9p{.B...Z.EqA.{?
000001f0 52 69 23 a2 03 a2 e5 70 3c 0c 79 9f d7 3b cd 34 Ri#....pserver MAC algorithm
Event Log: Initialised zlib (RFC1950) compression
Incoming packet type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Event Log: Initialised AES-256 server->client encryption
Event Log: Initialised HMAC-SHA1 server->client MAC algorithm
Event Log: Initialised zlib (RFC1950) decompression
Outgoing packet type 5 / 0x05 (SSH2_MSG_SERVICE_REQUEST)
00000000 00 00 00 0c 73 73 68 2d 75 73 65 72 61 75 74 68 ....ssh-userauth
Incoming packet type 6 / 0x06 (SSH2_MSG_SERVICE_ACCEPT)
00000000 00 00 00 0c 73 73 68 2d 75 73 65 72 61 75 74 68 ....ssh-userauth
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
00000000 00 00 00 0d 52 65 6e 64 73 7a 65 72 67 61 7a 64 ....Rendszergazd
00000010 61 00 00 00 0e 73 73 68 2d 63 6f 6e 6e 65 63 74 a....ssh-connect
00000020 69 6f 6e 00 00 00 04 6e 6f 6e 65 ion....none
Event Log: Reading private key file "C:\temp\FTP\virtua.ppk"
Incoming packet type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
00000000 00 00 00 27 70 75 62 6c 69 63 6b 65 79 2c 70 61 ...'publickey,pa
00000010 73 73 77 6f 72 64 2c 6b 65 79 62 6f 61 72 64 2d ssword,keyboard-
00000020 69 6e 74 65 72 61 63 74 69 76 65 00 interactive.
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
00000000 00 00 00 0d 52 65 6e 64 73 7a 65 72 67 61 7a 64 ....Rendszergazd
00000010 61 00 00 00 0e 73 73 68 2d 63 6f 6e 6e 65 63 74 a....ssh-connect
00000020 69 6f 6e 00 00 00 09 70 75 62 6c 69 63 6b 65 79 ion....publickey
00000030 00 00 00 00 07 73 73 68 2d 72 73 61 00 00 01 15 .....ssh-rsa....
00000040 00 00 00 07 73 73 68 2d 72 73 61 00 00 00 01 23 ....ssh-rsa....#
00000050 00 00 01 01 00 b4 58 3c 67 39 36 85 44 5a 61 49 ......X

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

Copssh supports localized windows versions. Can you start your ssh command with '-vv' switch at client side and check also application event log at server side for error messages ?

Is it possible to install COPSSH again and send me the installation log (Details button in setup) ?

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

Hi!
I made a new win2003HU server and try from the begining. The error message still popup.

Here is the requested install log:

Platform is Windows 2000.
Output folder: C:\Program Files\copssh
Extract: CHANGES.TXT
Extract: LICENSE.COPSSH.TXT
Extract: LICENSE.CYGWIN.TXT
Extract: LICENSE.OPENSSH.TXT
Extract: LICENSE.TXT
Extract: README.TXT
Output folder: C:\Program Files\copssh\bin
Extract: activate-user.sh
Extract: bash.exe
Extract: cat.exe
Extract: chmod.exe
Extract: chown.exe
Extract: cp.exe
Extract: cusrmgr.exe
Extract: cygcheck.exe
Extract: cygcrypt-0.dll
Extract: cygcrypto-0.9.8.dll
Extract: cygiconv-2.dll
Extract: cygintl-1.dll
Extract: cygintl-2.dll
Extract: cygintl-3.dll
Extract: cygminires.dll
Extract: cygncurses-8.dll
Extract: cygpath.exe
Extract: cygpcre-0.dll
Extract: cygpcre.dll
Extract: cygreadline6.dll
Extract: cygrunsrv.exe
Extract: cygwin1.dll... 100%
Extract: cygz.dll
Extract: date.exe
Extract: deactivate-user.sh
Extract: diff.exe
Extract: dumpel.exe
Extract: false.exe
Extract: grep.exe
Extract: gzip.exe
Extract: less.exe
Extract: listacc.exe
Extract: ln.exe
Extract: ls.exe
Extract: mkdir.exe
Extract: mkgroup.exe
Extract: mkpasswd.exe
Extract: mount.exe
Extract: ntrights.exe
Extract: ps.exe
Extract: pwdgen.exe
Extract: rm.exe
Extract: scp.exe
Extract: sed.exe
Extract: setx.exe
Extract: sftp-server.exe
Extract: sftp.exe
Extract: sort.exe
Extract: ssh-add.exe
Extract: ssh-agent.exe
Extract: ssh-keygen.exe
Extract: ssh-keyscan.exe
Extract: ssh-keysign.exe
Extract: ssh.exe
Extract: sshd.exe
Extract: subinacl.exe
Extract: tail.exe
Extract: tar.exe
Extract: touch.exe
Extract: umount.exe
Extract: wc.exe
Extract: xcacls.exe
Output folder: C:\Program Files\copssh
Output folder: C:\Program Files\copssh\etc
Extract: moduli
Extract: profile
Extract: ssh_config
Extract: sshd_config
Output folder: C:\Program Files\copssh
Set cygwin root to copssh inst.directory
mount: warning - /usr/bin does not exist.
C:\Program Files\copssh\bin on /usr/bin type system (binmode)
C:\Program Files\copssh on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
Set system-wide CYGWIN environment variable
Make initial /etc/group and /etc/passwd

C:\Program Files\copssh>"C:\Program Files\copssh\bin\mkgroup" -l 1>"C:\Program Files\copssh\etc\group"

C:\Program Files\copssh>"C:\Program Files\copssh\bin\mkpasswd" -l 1>"C:\Program Files\copssh\etc\passwd"

C:\Program Files\copssh>"C:\Program Files\copssh\bin\sed" "3,$d" /etc/passwd 1>"C:\Program Files\copssh\etc\passwd.new"

C:\Program Files\copssh>"C:\Program Files\copssh\bin\cat" /etc/passwd.new 1>"C:\Program Files\copssh\etc\passwd"
Delete file: C:\Program Files\copssh\_tmp.cmd
Delete file: C:\Program Files\copssh\etc\passwd.new
Generate some required directories and files
Generate host keys
Creating service account SvcCOPSSH
A parancs sikeresen v‚grehajt˘dott.

Felhaszn l˘n‚v SvcCOPSSH
Teljes n‚v
Megjegyz‚s copSSH service account
Felhaszn l˘ megjegyz‚se
Orsz gk˘d 000 (Rendszer alap‚rtelmez‚s)
A fi˘k aktˇv Igen
A fi˘k lej r Soha

A jelsz˘ be llˇtva 1/26/2006 11:34 AM
A jelsz˘ lej r 3/10/2006 10:22 AM
A jelsz˘ m˘dosˇthat˘ 1/26/2006 11:34 AM
Jelsz˘ k”telez‹ Igen
A felhaszn l˘ m˘dosˇthatja a jelsz˘t Igen

Munka llom sok enged‚lyezettek ™sszes
Bejelentkez‚si parancsf jl
Felhaszn l˘profil
Kezd‹k”nyvt r
Utols˘ bejelentkez‚s Soha

Bejelentkez‚sre enged‚lyezett id‹szak ™sszes

Helyi csoporttags g
Glob lis csoporttags g *Tartom nyfelhaszn l˘k
A parancs sikeresen v‚grehajt˘dott.

Delete file: C:\Program Files\copssh\bin\cusrmgr.exe
Generate sshd account for privilege separation
A parancs sikeresen v‚grehajt˘dott.

Felhaszn l˘n‚v sshd
Teljes n‚v
Megjegyz‚s SSHD privilege separation user
Felhaszn l˘ megjegyz‚se
Orsz gk˘d 000 (Rendszer alap‚rtelmez‚s)
A fi˘k aktˇv Nem
A fi˘k lej r Soha

A jelsz˘ be llˇtva 1/26/2006 11:34 AM
A jelsz˘ lej r 3/10/2006 10:22 AM
A jelsz˘ m˘dosˇthat˘ 1/26/2006 11:34 AM
Jelsz˘ k”telez‹ Igen
A felhaszn l˘ m˘dosˇthatja a jelsz˘t Igen

Munka llom sok enged‚lyezettek ™sszes
Bejelentkez‚si parancsf jl
Felhaszn l˘profil
Kezd‹k”nyvt r C:\Program Files\copssh\var\empty
Utols˘ bejelentkez‚s Soha

Bejelentkez‚sre enged‚lyezett id‹szak ™sszes

Helyi csoporttags g
Glob lis csoporttags g *Tartom nyfelhaszn l˘k
A parancs sikeresen v‚grehajt˘dott.

Update /etc/passwd for copssh system accounts

C:\Program Files\copssh>"C:\Program Files\copssh\bin\mkpasswd" -l -u sshd 1>>"C:\Program Files\copssh\etc\passwd"

C:\Program Files\copssh>"C:\Program Files\copssh\bin\mkpasswd" -l -u SvcCOPSSH 1>>"C:\Program Files\copssh\etc\passwd"
Delete file: C:\Program Files\copssh\_tmp.cmd
Generate batch file setperms.cmd
Setting permissions on C:\Program Files\copssh (run setperms.cmd)
LookupAccountName : setowner 1332 A fióknevek és a biztonsági azonosítók között nem jött létre egymáshoz rendelés.

Current object C:\Program Files\copssh\* will not be processed
A fióknevek és a biztonsági azonosítók között nem jött létre egymáshoz rendelés.
A fióknevek és a biztonsági azonosítók között nem jött létre egymáshoz rendelés.
Nincs ilyen felhaszn l˘ vagy csoport: Rendszergazdák.

Tov bbi segˇts‚get kaphat a NET HELPMSG 3780 parancs beˇr s val.

Configure sshd as an NT service
Service : copSSHD
Display name : Openssh SSHD
Description : Enables ssh-based secure encrypted communications between two untrusted hosts over an insecure network
Current State : Stopped
Command : /bin/sshd -D
stdin path : /dev/null
stdout path : /var/log/copSSHD.log
stderr path : /var/log/copSSHD.log
Process Type : Own Process
Startup : Automatic
Account : SBOL\SvcCOPSSH

Grant service account necessary rights and permissions
Granting SeCreateTokenPrivilege to SvcCOPSSH ... successful
Granting SeAssignPrimaryTokenPrivilege to SvcCOPSSH ... successful
Granting SeIncreaseQuotaPrivilege to SvcCOPSSH ... successful
Granting SeServiceLogonRight to SvcCOPSSH ... successful
Granting SeTcbPrivilege to SvcCOPSSH ... successful
Granting SeDenyBatchLogonRight to SvcCOPSSH ... successful
Granting SeDenyInteractiveLogonRight to SvcCOPSSH ... successful
Granting SeDenyNetworkLogonRight to SvcCOPSSH ... successful
Start sshd service
Make shortcuts
Create folder: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\01. Activate a user.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\02. Deactivate a user.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\03. Start a Unix BASH Shell.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\04. Start a Windows CMD Shell.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\05. Readme.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\06. Documentation.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\07. copSSH web site.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\08. DONATE!.lnk
Create shortcut: C:\Documents and Settings\Rendszergazda\Start Menu\Programs\COPSSH\09. Uninstall COPSSH.lnk
Created uninstaller: C:\Program Files\copssh\uninstall.exe
Completed

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

... ...
Generate batch file setperms.cmd

Setting permissions on C:\Program Files\copssh (run setperms.cmd)

LookupAccountName : setowner 1332 A fióknevek és a biztonsági azonosítók között nem jött létre egymáshoz rendelés.

Current object C:\Program Files\copssh\* will not be processed

A fióknevek és a biztonsági azonosítók között nem jött létre egymáshoz rendelés.

A fióknevek és a biztonsági azonosítók között nem jött létre egymáshoz rendelés.

Nincs ilyen felhaszn l˘ vagy csoport: Rendszergazdák.

Tov bbi segˇts‚get kaphat a NET HELPMSG 3780 parancs beˇr s val.

... ...

Log lines above tell me that COPSSH setup cannot set permissions on installation directory as required. As I wrote before, copssh could handle localized windows versions. The listacc program in setperms.cmd is used for that purpose.

Can you run the listacc program directly and publish the output here ?

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

The generated _tmp.cmd sets the enviroment variables to "Rendszergazdßk" and "Felhasznßl˘k". The good strings are "Rendszergazdák" and "Felhasználók".If I changed the default section in the setperms.cmd and remark the listacc and then call of _tmp.cmd, the first error will not occuring, but the second and thrid failed.
I started again the prcess...
I changed the "groupname (before windows 2000 system)" of this groups to "Rendszergazdak" and "Felhasznalok", and started the installation. The failed three statement prompted again, but I tried change the default values, and remark the listacc and call _tmp.cmd lines, and run again the failed lines.
Its works fine.
After that I try the connection with PuTTy and generated key, and it is works fine!
Tnank you for the help!

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Languages

Thank you for test results. Specifying the localized names in quotes would be a good idea then:

"C:\Program Files\copssh\bin\subinacl" /noverbose /subdirectories "C:\Program Files\copssh\*" /setowner="%LISTACC_ADMGROUP%" > NUL
"C:\Program Files\copssh\bin\xcacls" "C:\Program Files\copssh" /T /G "%LISTACC_ADMGROUP%":F /Y > NUL
..
"C:\Program Files\copssh\bin\xcacls" "C:\Program Files\copssh" /T /E /G "%LISTACC_USRGROUP%":R /Y > NUL
...
net localgroup "%LISTACC_ADMGROUP%" SvcCOPSSH /add

Topic locked

Release announcements