sshcmd

command module
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

sshcmd

ssh:

sshcmd --user cuisongliu --passwd admin --host 127.0.0.1 --cmd "ls -l"

scp:

sshcmd --user cuisongliu --passwd admin --host 127.0.0.1 --mode "scp" --local-path "/aa.txt" --remote-path "/aa.txt"

mod: ssh,scp,ssh|scp,scp|ssh

cmd 最后得使用引号包起来

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

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