Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 278 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 278 Bytes

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 最后得使用引号包起来