We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guys, cool package, can't enjoy enough!
Is there a way to do interactive SSH prompt like just ssh user@host, to let user type commands on remote host?
ssh user@host
I want something like this:
./app.py stand shell --name dev3 Last login: Fri Sep 24 14:23:18 2021 from X.X.X.X [centos@dev3 ~]$
The text was updated successfully, but these errors were encountered:
I eventually found out (#565 (comment)) about passing stdin, stdout and stderr and replaced subprocess.call(..., shell=True) with
ssh = plumbum.local["ssh"]["-tt", f"{stand.user}@{stand.hostname}"] ssh("sudo su -", stdin=sys.stdin, stdout=sys.stdout, stderr=sys.stderr, retcode=None)
So leaving this for history.
Sorry, something went wrong.
No branches or pull requests
Guys, cool package, can't enjoy enough!
Is there a way to do interactive SSH prompt like just
ssh user@host
, to let user type commands on remote host?I want something like this:
./app.py stand shell --name dev3 Last login: Fri Sep 24 14:23:18 2021 from X.X.X.X [centos@dev3 ~]$
The text was updated successfully, but these errors were encountered: