Hello Forum,
I have successfuly running a instance of CopSSH on a Windows Server 2008 R2 64 Bit with public/private key authentication.
Here is a part of my ssh_config:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
And my passwd file:
SvcCOPSSH:unused_by_nt/2000/xp:1017:545:U-LVTSVINTRA\SvcCOPSSH,S-1-5-21-4036840174-3772900335-2714778364-1017:/var/:/bin/false
lvt_itpr:unused_by_nt/2000/xp:30447:545:U-ZDVW2K\lvt_itpr,S-1-5-21-790525478-776561741-839522115-30447:/cygdrive/e/Transfer_LIKV/:/bin/bash
The User lvt_itpr is the user which is used for connect via pub/priv key.
But the User SvcCopSSH is constantly trying to connect to Domain Server. I have this errors on the Domain Server:
11/28 13:26:06 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:26:06 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:26:06 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:26:06 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:26:06 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:34:26 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:34:26 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:34:26 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:34:26 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
11/28 13:34:26 [LOGON] DOMAIN: SamLogon: Network logon of SERVER\SvcCOPSSH from SERVER Returns 0xC0000064
It is remarkable, that these login-times have nothing to do with the logins of the lvt_itpr user via priv/pub-key. And they are always 5 times...
Any help is welcome!
Greetings
Tobi
(I have posted this problem three or four days ago, but it doesn't show up here. So, sorry for the eventual double-post)
Windows requires an access token provided by a user/password combination, which is non-existant in PKA authentication. Instead, service account credentials are used as a replacement.
Thank you for your reply.
The User, that is used to connect with PKAauth is a domain user. And the service is working. Only problem is that I get these errors in Domain Controler.