Comments (2)
The issue is present in 1.8.1 as well.
from plumbum.
I again got the situation when the specified key was ignored. As it turned out, the cause was that OpenSSH considered permissions on the key file as too open and rejected it, printing the warning and switching to password authentication. The confusion stems from Plumbum not displaying stderr
, where OpesSSH prints the warning. I could, at least in theory, redirect stderr
to stdout
for individual command. But how do I do that when using with SshMachine()
? I see no options available.
As for the original report, I cannot replay it and confirm it wasn't caused by permissions on the key file. As such, I am going to close the issue. The key file is not ignored, this is just insufficient error reporting.
from plumbum.
Related Issues (20)
- Invoking bash builtin commands
- StdinDataRedirection commands fail upon modification (TEE, FG, etc.)
- How to provide help messages for positional arguments of simple types, like `str`?
- recursive globbing not work like pathlib
- support for ignoring inherited environment
- [question] How to force plumbum to process selected CLI switch first?
- ImportError: cannot import name 'git' from 'plumbum.cmd' HOT 2
- ShellSession.popen incorrectly processes Commands HOT 1
- pyproject.toml "author" key should be "authors", and value should be a table, not a single key/value pair HOT 1
- plumbum's path objects look like files but behave differently
- 1.8.2: sphinx warnings `reference target not found`
- 1.8.2: pytest warnings
- 1.8.2: plumbum doesnt support symbol Tilde HOT 3
- bug: Importing `colors` from `plumbum` adds a trailing line to the output HOT 4
- TEE return code for pipeline is wrong when non-last command fails
- Override operator `+` for Path and its subclasses
- `plumbum.cli` doesn't play nicely with decorators and `__future__.annotations` HOT 1
- Piping and `run_tee` swallows output to sys.stderr of the rear end of piped commands
- AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? HOT 9
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 plumbum.