golang 试验田
test ssh in golang
env GOOS=linux GOARCH=amd64 go build -o gossh.linux.bin
bingoobjca@bogon ~/g/s/g/b/g/gosshmain> ./gosshmain
Usage of ./gosshmain:
-P string
password
-f string
scripts file
-h string
host
-p int
port (default 22)
-s string
scripts string
-t string
prompt tip (default ">")
-u string
user, default to current user
create randomized image in jpg/png format.
bingoobjca@bogon ~/g/s/g/b/g/randimgmain> ./randimgmain -h
flag needs an argument: -h
Usage of ./randimgmain:
-f string
picture format(png/jpg) (default "png")
-h int
picture height (default 320)
-i int
how many pictures to create (default 1)
-m int
fixed size(MiB)
-s int
picture sequence number
-w int
picture width (default 640)