sshcmd

command module
v0.0.0-...-f69179b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

README

sshcmd

通常情况下,我们用ssh在远程主机上执行命令的时候,ssh会弹出提示要求输入密码,这对于批量在远程主机上执行命令不是很方便。这里提供一个命令,支持 直接在远程主机上执行命令,不需要强制交互输入密码。

sshcmd -h 10.21.16.202 -u hago -p 123 -c "date"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL