Comments (2)
@alexpilotti I did some work that a bit related to your request.
I've managed to get successful kerberos authentication with following schema:
- source host was Ubuntu Linux that connected to remote network with Windows domain over VPN
- target host was plain Windows host with enabled WinRM protocol but with disabled transport encryption
Right now for me main priority is to get transport encryption works according to WinRM protocol specification.
This is a bit tricky becase python-kerberos library does not expose such sort of API.
If you are interested in this topic you can track status here - #6 .
Unfortunately I don't have enough spare time to work on this task in near future.
OpenWSMAN may have passwordless authentication but I don't remember for sure - http://openwsman.github.io/
Anyway I would glad so see any references / sample code on this subject.
If you (or anyone else) would like to contribute please take into account one requirement - try to follow WinRM standard and functionality that Windows Servers has out for box.
I'm hoping that simple requirement is pretty reasonable.
from pywinrm.
SSH public keys won't ever work with WinRM. You can use X509 certificates but really is quite finicky. There's not much we can do to solve this as this is a problem on the Windows service side only accepting certain authentication protocols.
from pywinrm.
Related Issues (20)
- Target powershell version should be steerable HOT 1
- pywinrm does not seem to support access to ipv6 addresses? HOT 1
- Issue from Windows 10 in French HOT 3
- Winrs works while pywinrm fails HOT 2
- Recommended kerberos dependecy HOT 1
- Move `requests_ntlm` to optional dependencies HOT 1
- status_code returns 1 when status of PS command is 1 or greater HOT 1
- User in Remote desktop users Group can not run command with pywinrm? HOT 2
- TLS 1.3 + IISCrypto Best practices = failure to connect HOT 5
- Resources keeps increasing
- Enable NTLM v2 HOT 1
- exec a .bat Why the is no-response? urgency!!! HOT 1
- hostname_override=self.kerberos_hostname_override not avail in credssp auth_method
- CMD Command return partial output
- pywinrm don't work redhat 8.7 HOT 1
- Compatibility with python 3.11x HOT 1
- pywinrm not support powershell7 or it is not possible to set the powershell version HOT 3
- pywinrm can't create powershell connection using ConfigurationName HOT 1
- Cannot connect to Windows Server 2022 when urllib3 version is 2.1.0 HOT 5
- Shell returns Bad HTTP response returned from server: 400. when idle for more than 3 minutes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywinrm.