command
module
Version:
v0.0.0-...-f69179b
Opens a new window with list of versions in this module.
Published: May 9, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
sshcmd
通常情况下,我们用ssh在远程主机上执行命令的时候,ssh会弹出提示要求输入密码,这对于批量在远程主机上执行命令不是很方便。这里提供一个命令,支持
直接在远程主机上执行命令,不需要强制交互输入密码。
sshcmd -h 10.21.16.202 -u hago -p 123 -c "date"
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.