Pypsh

Latest version: v0.7.3

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.3

=================

- detect hosts from Host entries in `~/.ssh/config`

- fixed support for ``--pty``

0.7.2

=================

- fixed matching of hosts that have a custom port configured.

- added the `--pty` option.

- stdout or stderr buffers filling up should no longer cause pypsh to get stuck

0.7.1

=================

- **bugfix**: adopt paramiko missing_host_key usage to changed API

0.7.0

=================

- **breaking change**
Changed the commandline interface again. The `hostregex` is now always the
first (required) parameter. In addition the `cmd` subcommand is now again
optional and pypsh also supports to execute commands that are read from
stdin.

So the following invokations are possible::

pypsh "myhosts[0-9]" "uptime"
echo "uptime" | pypsh "myhosts[0-9]"
pypsh "myhosts[0-9]" cmd "uptime"
pypsh "myhosts[0-9]" copy /tmp/source /tmp/destination

The `wait` and `serial` parameters have been merged into `interval`
If the interval is zero the commands will be executed in parallel, if it's
greater than zero the command/copy process will be serial with a sleep of
`interval` after each host.

In addition, the `show` subcommand has been removed. Simply use `uptime` or
some other harmless command to show which hosts matched.

0.6.0

=================

- **feature**: added new `--wait` parameter to the `cmd` subcommand.

0.5.0

=================

- **feature**: added new `show` subcommand.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.