When I try to add a powershell host on the vCO client I get a Connection refused: connect (Dynamic Script Module name : addPowerShellHost#16)
I have the powershell plugin 1.0.1 installed on vCO and I have moved the krb5.conf to the …jre/lib/security directory.
I have powershell 1.0 installed on the vCO server. I am trying to get vCO to use its own server as the powershell host.
vCO input:
Name: vcoPowershell
Host/IP: server_name.DOMAIN.com
Port: 80
PowerShell remote host type: WinRM
Transport protocol: HTTP
Authentication: Kerberos
Session mode: Shared Session
Username: usernameWithAdminRights@domain.com
Password: passwordforaccount
My Kerberos file looks like:
default_realm = DOMAIN.COM
udp_preference_limit = 1
DOMAIN.COM = {
kdc = server_name.DOMAIN.com
default_domain = DOMAIN.com
}
.DOMAIN.com=DOMAIN.COM
DOMAIN.com=DOMAIN.COM
winrm id -r: (vCO server):80 -a:Kerberos -u: (usernameWithAdminRights) -p: (password)
IdentifyResponse
ProtocolVersion = http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
ProductVendor = Microsoft Corporation
ProductVersion = OS: 6.0.6002 SP: 2.0 Stack: 1.1
Here is the config for powershell on the vCO server:
winrm get winrm/config
Config
MaxEnvelopeSizekb = 150
MaxTimeoutms = 60000
MaxBatchItems = 20
MaxProviderRequests = 25
Client
NetworkDelayms = 5000
URLPrefix = wsman
AllowUnencrypted = true
Auth
Basic = true
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
DefaultPorts
HTTP = 80
HTTPS = 443
TrustedHosts = (vco server)
Service
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;ER)S:P(AU;FA;GA;;;WD)(AU;SA;G
WGX;;;WD)
MaxConcurrentOperations = 100
EnumerationTimeoutms = 60000
MaxConnections = 5
AllowUnencrypted = true
Auth
Basic = true
Kerberos = true
Negotiate = true
Certificate = false
DefaultPorts
HTTP = 80
HTTPS = 443
IPv4Filter = *
IPv6Filter = *
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 900000
MaxConcurrentUsers = 5
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 5
MaxMemoryPerShellMB = 2048
MaxShellsPerUser = 50