ss

Socket Statistics缩写. 显示类似于netstat的信息,ss可以显示比其他工具更多的TCP状态信息

语法:

 ss [options] [FILTER]

选项


  -n, --numeric    尝试解析服务名称
  -r, --resolve    尝试解析 ip地址/端口.
  -a, --all        显示所有socket.
  -l, --listening  显示侦听sockets.
  -o, --options    显示计时器信息
  -e, --extended   显示详细的 socket 信息
  -m, --memory     显示socket内存使用情况.
  -p, --processes  显示socket使用进程.
  -i, --info       显示内部TCP信息
  -s, --summary    打印摘要统计信息



  -A QUERY,
  --query=QUERY,
  --socket=QUERY   要转储的套接字表的列表,用逗号分隔。
                   了解以下标识符:all, inet, tcp, udp, raw,
                   unix, packet, netlink, unix_dgram, unix_stream, packet_raw, packet_dgram

  -D FILE, --diag=FILE     不显示任何内容,只是将有关
                            TCP套接字的原始信息转储到FILE。如果FILE是 - 使用stdout

  -f FAMILY, --family=FAMILY     显示 FAMILY 类型的套接字,
                                 FAMILY可选: unix, inet, inet6, link, netlink.

  -F FILE,
  --filter=FILE    从FILE中读取过滤器信息. 每行FILE都被
                   解释为单个命令行选项。如果FILE是 - 使用stdin.
                   FILTER := [ state TCP-STATE ] [ EXPRESSION ]

  -4, --ipv4       仅显示ipv4 (同 -f inet).
  -6, --ipv6       仅显示ipv6 (同 -f inet6).
  -0, --packet     显示 PACKET 套接字
  -t, --tcp        仅显示 TCP 套接字
  -u, --udp        仅显示  UDP套接字
  -d, --dccp       仅显示 DCCP 套接字
  -w, --raw        仅显示  RAW 套接字
  -x, --unix       仅显示 Unix 套接字

  -h, --help       显示选项摘要.
  -V, --version    输出版本信息

例子

显示所有TCP套接字, 显示所有UDP套接字.

$ ss -t -a
$ ss -u -a

显示所有已建立的ssh连接.

$ss -o state established '( dport = :ssh or sport = :ssh )'

查找连接到X服务器的所有本地进程.

 $ss -x src /tmp/.X11-unix/*

在状态finf-wait-1中列出apache网络193.233.7/24的所有tcp套接字,并查看它们的计时器。

  ss -o state fin-wait-1 '( sport = :http or sport = :https )' dst 193.233.7/24

ss 命令实例:

linux命令:ssh-copy-id -i your-ed25519-key user@host user@host your-ed25519-key -i ssh-copy-id ssh-copy-id -i your-ed25519-key user@hostrootopen.com
linux命令:ssh-copy-id -i your-ed25519-key user@host user@host your-ed25519-key -i ssh-copy-id ssh-copy-id -i your-ed25519-key user@hostrootopen.com
2019-06-04 22:27:39

linux命令:ssh root@vps.example -p22 "cat /dev/sda1 | gzip -1 - " > vps.sda1.img.gz vps.sda1.img.gz > " - -1 gzip | /dev/sda1 "cat -p22 root@vps.example ssh ssh root@vps.example -p22 "cat /dev/sda1 | gzip -1 - " > vps.sda1.img.gz rootopen.com
linux命令:ssh root@vps.example -p22 "cat /dev/sda1 | gzip -1 - " > vps.sda1.img.gz vps.sda1.img.gz > " - -1 gzip | /dev/sda1 "cat -p22 root@vps.example ssh ssh root@vps.example -p22 "cat /dev/sda1 | gzip -1 - " > vps.sda1.img.gz rootopen.com
2019-06-03 22:52:02

linux命令:ssh-keygen -y -f privatekey.pem > publickey.pem publickey.pem > privatekey.pem -f -y ssh-keygen ssh-keygen -y -f privatekey.pem > publickey.pemrootopen.com
linux命令:ssh-keygen -y -f privatekey.pem > publickey.pem publickey.pem > privatekey.pem -f -y ssh-keygen ssh-keygen -y -f privatekey.pem > publickey.pemrootopen.com
2019-02-12 20:58:46

linux命令:ssh -X servername servername -X ssh ssh -X servernamerootopen.com
linux命令:ssh -X servername servername -X ssh ssh -X servernamerootopen.com
2018-12-13 23:13:04

linux命令:ssh -L 1080:127.0.0.1:1080 -i "11111.pem" ec2-user@ec2-13-230-30-2d7.ap-northeast-1.compute.amazonaws.com ec2-user@ec2-13-230-30-2d7.ap-northeast-1.compute.amazonaws.com "11111.pem" -i 1080:127.0.0.1:1080 -L ssh ssh -L 1080:127.0.0.1:1080 -i "11111.pem" ec2-user@ec2-13-230-30-2d7.ap-northeast-1.compute.amazonaws.comrootopen.com
linux命令:ssh -L 1080:127.0.0.1:1080 -i "11111.pem" ec2-user@ec2-13-230-30-2d7.ap-northeast-1.compute.amazonaws.com ec2-user@ec2-13-230-30-2d7.ap-northeast-1.compute.amazonaws.com "11111.pem" -i 1080:127.0.0.1:1080 -L ssh ssh -L 1080:127.0.0.1:1080 -i "11111.pem" ec2-user@ec2-13-230-30-2d7.ap-northeast-1.compute.amazonaws.comrootopen.com
2018-12-10 14:55:16

linux命令:ssh -p 28511 root@172.93.47.106 root@172.93.47.106 28511 -p ssh ssh -p 28511 root@172.93.47.106rootopen.com
linux命令:ssh -p 28511 root@172.93.47.106 root@172.93.47.106 28511 -p ssh ssh -p 28511 root@172.93.47.106rootopen.com
2018-11-17 12:51:30

linux命令:ssh tecmint@192.168.56.10 tecmint@192.168.56.10 ssh ssh tecmint@192.168.56.10rootopen.com
linux命令:ssh tecmint@192.168.56.10 tecmint@192.168.56.10 ssh ssh tecmint@192.168.56.10rootopen.com
2018-09-11 09:55:30

linux命令:ssh user@host "ps aux | grep httpd | wc -l" -l" wc | httpd grep | aux "ps user@host ssh ssh user@host "ps aux | grep httpd | wc -l"rootopen.com
linux命令:ssh user@host "ps aux | grep httpd | wc -l" -l" wc | httpd grep | aux "ps user@host ssh ssh user@host "ps aux | grep httpd | wc -l"rootopen.com
2018-05-31 23:01:48

linux命令:ssh user@host cat /path/to/remotefile | diff /path/to/localfile - - /path/to/localfile diff | /path/to/remotefile cat user@host ssh ssh user@host cat /path/to/remotefile | diff /path/to/localfile -rootopen.com
linux命令:ssh user@host cat /path/to/remotefile | diff /path/to/localfile - - /path/to/localfile diff | /path/to/remotefile cat user@host ssh ssh user@host cat /path/to/remotefile | diff /path/to/localfile -rootopen.com
2018-02-10 20:46:48

linux命令:ssh somemachine "cd some dir; tar zcpf - somedirname" |tar zxpf - - zxpf |tar somedirname" - zcpf tar dir; some "cd somemachine ssh ssh somemachine "cd some dir; tar zcpf - somedirname" |tar zxpf -rootopen.com
linux命令:ssh somemachine "cd some dir; tar zcpf - somedirname" |tar zxpf - - zxpf |tar somedirname" - zcpf tar dir; some "cd somemachine ssh ssh somemachine "cd some dir; tar zcpf - somedirname" |tar zxpf -rootopen.com
2018-01-13 10:45:48

linux命令:ssh-keygen -R \[localhost\]:8022 \[localhost\]:8022 -R ssh-keygen ssh-keygen -R \[localhost\]:8022rootopen.com
linux命令:ssh-keygen -R \[localhost\]:8022 \[localhost\]:8022 -R ssh-keygen ssh-keygen -R \[localhost\]:8022rootopen.com
2018-02-20 19:24:48

linux命令:ssh-keygen -i -f $sshkeysfile >> authorized_keys authorized_keys >> $sshkeysfile -f -i ssh-keygen ssh-keygen -i -f $sshkeysfile >> authorized_keysrootopen.com
linux命令:ssh-keygen -i -f $sshkeysfile >> authorized_keys authorized_keys >> $sshkeysfile -f -i ssh-keygen ssh-keygen -i -f $sshkeysfile >> authorized_keysrootopen.com
2018-02-26 23:19:48

linux命令:ssh-keygen -l -f [pubkey] | awk '{print $2}' | tr -ds ':' '' | egrep -ie "[a-f0-9]{32}" "[a-f0-9]{32}" -ie egrep | '' ':' -ds tr | $2}' '{print awk | [pubkey] -f -l ssh-keygen ssh-keygen -l -f [pubkey] | awk '{print $2}' | tr -ds ':' '' | egrep -ie "[a-f0-9]{32}"rootopen.com
linux命令:ssh-keygen -l -f [pubkey] | awk '{print $2}' | tr -ds ':' '' | egrep -ie "[a-f0-9]{32}" "[a-f0-9]{32}" -ie egrep | '' ':' -ds tr | $2}' '{print awk | [pubkey] -f -l ssh-keygen ssh-keygen -l -f [pubkey] | awk '{print $2}' | tr -ds ':' '' | egrep -ie "[a-f0-9]{32}"rootopen.com
2018-03-09 12:20:48

linux命令:sshfs name@server:/path/to/folder /path/to/mount/point /path/to/mount/point name@server:/path/to/folder sshfs sshfs name@server:/path/to/folder /path/to/mount/pointrootopen.com
linux命令:sshfs name@server:/path/to/folder /path/to/mount/point /path/to/mount/point name@server:/path/to/folder sshfs sshfs name@server:/path/to/folder /path/to/mount/pointrootopen.com
2018-06-05 09:30:48

linux命令:ssh -N -L2001:localhost:80 -o "ProxyCommand ssh someuser@hubmachine nc -w 5 %h %p" someuser@destinationmachine someuser@destinationmachine %p" %h 5 -w nc someuser@hubmachine ssh "ProxyCommand -o -L2001:localhost:80 -N ssh ssh -N -L2001:localhost:80 -o "ProxyCommand ssh someuser@hubmachine nc -w 5 %h %p" someuser@destinationmachinerootopen.com
linux命令:ssh -N -L2001:localhost:80 -o "ProxyCommand ssh someuser@hubmachine nc -w 5 %h %p" someuser@destinationmachine someuser@destinationmachine %p" %h 5 -w nc someuser@hubmachine ssh "ProxyCommand -o -L2001:localhost:80 -N ssh ssh -N -L2001:localhost:80 -o "ProxyCommand ssh someuser@hubmachine nc -w 5 %h %p" someuser@destinationmachinerootopen.com
2018-05-02 01:14:48

linux命令:ssh -L 5900:localhost:5900 user@exampleserver.com user@exampleserver.com 5900:localhost:5900 -L ssh ssh -L 5900:localhost:5900 user@exampleserver.comrootopen.com
linux命令:ssh -L 5900:localhost:5900 user@exampleserver.com user@exampleserver.com 5900:localhost:5900 -L ssh ssh -L 5900:localhost:5900 user@exampleserver.comrootopen.com
2018-01-13 05:28:48

linux命令:ssh-copy-id username@hostname username@hostname ssh-copy-id ssh-copy-id username@hostnamerootopen.com
linux命令:ssh-copy-id username@hostname username@hostname ssh-copy-id ssh-copy-id username@hostnamerootopen.com
2017-12-27 06:21:48

linux命令:ssh -D 8888 user@site.com user@site.com 8888 -D ssh ssh -D 8888 user@site.comrootopen.com
linux命令:ssh -D 8888 user@site.com user@site.com 8888 -D ssh ssh -D 8888 user@site.comrootopen.com
2018-02-05 04:21:48

linux命令:ssh -CNL 3306:localhost:3306 user@site.com user@site.com 3306:localhost:3306 -CNL ssh ssh -CNL 3306:localhost:3306 user@site.comrootopen.com
linux命令:ssh -CNL 3306:localhost:3306 user@site.com user@site.com 3306:localhost:3306 -CNL ssh ssh -CNL 3306:localhost:3306 user@site.comrootopen.com
2018-01-13 01:39:48

linux命令:ssh user@host cat /path/to/some/file | xclip xclip | /path/to/some/file cat user@host ssh ssh user@host cat /path/to/some/file | xcliprootopen.com
linux命令:ssh user@host cat /path/to/some/file | xclip xclip | /path/to/some/file cat user@host ssh ssh user@host cat /path/to/some/file | xcliprootopen.com
2018-04-12 19:05:48

linux命令:ssh user@host 'mysqldump dbname | gzip' > /path/to/backups/db-backup-`date +%Y-%m-%d`.sql.gz +%Y-%m-%d`.sql.gz /path/to/backups/db-backup-`date > gzip' | dbname 'mysqldump user@host ssh ssh user@host 'mysqldump dbname | gzip' > /path/to/backups/db-backup-`date +%Y-%m-%d`.sql.gzrootopen.com
linux命令:ssh user@host 'mysqldump dbname | gzip' > /path/to/backups/db-backup-`date +%Y-%m-%d`.sql.gz +%Y-%m-%d`.sql.gz /path/to/backups/db-backup-`date > gzip' | dbname 'mysqldump user@host ssh ssh user@host 'mysqldump dbname | gzip' > /path/to/backups/db-backup-`date +%Y-%m-%d`.sql.gzrootopen.com
2018-05-15 21:22:48

linux命令:ssh -t user@some.domain.com /usr/bin/screen -xRR -xRR /usr/bin/screen user@some.domain.com -t ssh ssh -t user@some.domain.com /usr/bin/screen -xRRrootopen.com
linux命令:ssh -t user@some.domain.com /usr/bin/screen -xRR -xRR /usr/bin/screen user@some.domain.com -t ssh ssh -t user@some.domain.com /usr/bin/screen -xRRrootopen.com
2018-05-27 18:49:48

linux命令:ssh -A user@somehost user@somehost -A ssh ssh -A user@somehostrootopen.com
linux命令:ssh -A user@somehost user@somehost -A ssh ssh -A user@somehostrootopen.com
2018-05-29 15:50:48

linux命令:ssh -MNf <user>@<host> <user>@<host> -MNf ssh ssh -MNf <user>@<host>rootopen.com
linux命令:ssh -MNf <user>@<host> <user>@<host> -MNf ssh ssh -MNf <user>@<host>rootopen.com
2018-02-06 23:52:48

linux命令:ssh -T user@host /bin/bash -i -i /bin/bash user@host -T ssh ssh -T user@host /bin/bash -irootopen.com
linux命令:ssh -T user@host /bin/bash -i -i /bin/bash user@host -T ssh ssh -T user@host /bin/bash -irootopen.com
2018-06-08 18:58:48

linux命令:ssh -t reachable_host ssh unreachable_host unreachable_host ssh reachable_host -t ssh ssh -t reachable_host ssh unreachable_hostrootopen.com
linux命令:ssh -t reachable_host ssh unreachable_host unreachable_host ssh reachable_host -t ssh ssh -t reachable_host ssh unreachable_hostrootopen.com
2018-02-06 13:54:48

linux命令:ssh -fX <user>@<host> <program> <program> <user>@<host> -fX ssh ssh -fX <user>@<host> <program>rootopen.com
linux命令:ssh -fX <user>@<host> <program> <program> <user>@<host> -fX ssh ssh -fX <user>@<host> <program>rootopen.com
2018-04-19 22:40:48

linux命令:ssh -NL 2000:remotehost:22 remotehost remotehost 2000:remotehost:22 -NL ssh ssh -NL 2000:remotehost:22 remotehostrootopen.com
linux命令:ssh -NL 2000:remotehost:22 remotehost remotehost 2000:remotehost:22 -NL ssh ssh -NL 2000:remotehost:22 remotehostrootopen.com
2018-05-30 02:55:48

linux命令:ssh user@host "cd targetdir; tar cfp - *" | dd of=file.tar of=file.tar dd | *" - cfp tar targetdir; "cd user@host ssh ssh user@host "cd targetdir; tar cfp - *" | dd of=file.tarrootopen.com
linux命令:ssh user@host "cd targetdir; tar cfp - *" | dd of=file.tar of=file.tar dd | *" - cfp tar targetdir; "cd user@host ssh ssh user@host "cd targetdir; tar cfp - *" | dd of=file.tarrootopen.com
2018-04-12 02:07:48

linux命令:ssh-keygen; ssh-copy-id user@host; ssh user@host user@host ssh user@host; ssh-copy-id ssh-keygen; ssh-keygen; ssh-copy-id user@host; ssh user@hostrootopen.com
linux命令:ssh-keygen; ssh-copy-id user@host; ssh user@host user@host ssh user@host; ssh-copy-id ssh-keygen; ssh-keygen; ssh-copy-id user@host; ssh user@hostrootopen.com
2018-04-26 03:37:48

linux命令:ssh user@host "(cd /path/to/remote/top/dir ; tar cvf - ./*)" | tar xvf - - xvf tar | ./*)" - cvf tar ; /path/to/remote/top/dir "(cd user@host ssh ssh user@host "(cd /path/to/remote/top/dir ; tar cvf - ./*)" | tar xvf -rootopen.com
linux命令:ssh user@host "(cd /path/to/remote/top/dir ; tar cvf - ./*)" | tar xvf - - xvf tar | ./*)" - cvf tar ; /path/to/remote/top/dir "(cd user@host ssh ssh user@host "(cd /path/to/remote/top/dir ; tar cvf - ./*)" | tar xvf -rootopen.com
2018-04-04 16:25:48

linux命令:ssh -vN hostname 2>&1 | grep "remote software version" version" software "remote grep | 2>&1 hostname -vN ssh ssh -vN hostname 2>&1 | grep "remote software version"rootopen.com
linux命令:ssh -vN hostname 2>&1 | grep "remote software version" version" software "remote grep | 2>&1 hostname -vN ssh ssh -vN hostname 2>&1 | grep "remote software version"rootopen.com
2018-05-24 22:32:48

linux命令:ssh user@server | tee logfilename logfilename tee | user@server ssh ssh user@server | tee logfilenamerootopen.com
linux命令:ssh user@server | tee logfilename logfilename tee | user@server ssh ssh user@server | tee logfilenamerootopen.com
2018-02-02 20:51:48

linux命令:ssh -i $PRIVATEKEY $HOST -C 'cd $SOURCE; tar -cz --numeric-owner .' | tee $DESTINATION/backup.tgz | tar -tz -tz tar | $DESTINATION/backup.tgz tee | .' --numeric-owner -cz tar $SOURCE; 'cd -C $HOST $PRIVATEKEY -i ssh ssh -i $PRIVATEKEY $HOST -C 'cd $SOURCE; tar -cz --numeric-owner .' | tee $DESTINATION/backup.tgz | tar -tzrootopen.com
linux命令:ssh -i $PRIVATEKEY $HOST -C 'cd $SOURCE; tar -cz --numeric-owner .' | tee $DESTINATION/backup.tgz | tar -tz -tz tar | $DESTINATION/backup.tgz tee | .' --numeric-owner -cz tar $SOURCE; 'cd -C $HOST $PRIVATEKEY -i ssh ssh -i $PRIVATEKEY $HOST -C 'cd $SOURCE; tar -cz --numeric-owner .' | tee $DESTINATION/backup.tgz | tar -tzrootopen.com
2018-05-02 14:13:48

linux命令:ssh -C -X user@remotehost gui_command gui_command user@remotehost -X -C ssh ssh -C -X user@remotehost gui_commandrootopen.com
linux命令:ssh -C -X user@remotehost gui_command gui_command user@remotehost -X -C ssh ssh -C -X user@remotehost gui_commandrootopen.com
2018-03-03 16:43:48

linux命令:ssh $HOST -l$USER cat /REMOTE/FILE | sdiff /LOCAL/FILE - - /LOCAL/FILE sdiff | /REMOTE/FILE cat -l$USER $HOST ssh ssh $HOST -l$USER cat /REMOTE/FILE | sdiff /LOCAL/FILE -rootopen.com
linux命令:ssh $HOST -l$USER cat /REMOTE/FILE | sdiff /LOCAL/FILE - - /LOCAL/FILE sdiff | /REMOTE/FILE cat -l$USER $HOST ssh ssh $HOST -l$USER cat /REMOTE/FILE | sdiff /LOCAL/FILE -rootopen.com
2018-01-18 14:30:48

linux命令:ssf -f -N -L 4321:home.network.com:25 user@home.network.com user@home.network.com 4321:home.network.com:25 -L -N -f ssf ssf -f -N -L 4321:home.network.com:25 user@home.network.comrootopen.com
linux命令:ssf -f -N -L 4321:home.network.com:25 user@home.network.com user@home.network.com 4321:home.network.com:25 -L -N -f ssf ssf -f -N -L 4321:home.network.com:25 user@home.network.comrootopen.com
2018-03-02 14:03:48

linux命令:ssh -f -N -L 5432:talk.google.com:5222 user@home.network.com user@home.network.com 5432:talk.google.com:5222 -L -N -f ssh ssh -f -N -L 5432:talk.google.com:5222 user@home.network.comrootopen.com
linux命令:ssh -f -N -L 5432:talk.google.com:5222 user@home.network.com user@home.network.com 5432:talk.google.com:5222 -L -N -f ssh ssh -f -N -L 5432:talk.google.com:5222 user@home.network.comrootopen.com
2018-04-01 00:34:48

linux命令:ssh -L :: -L :: @ @ :: -L :: -L ssh ssh -L :: -L :: @rootopen.com
linux命令:ssh -L :: -L :: @ @ :: -L :: -L ssh ssh -L :: -L :: @rootopen.com
2018-04-11 10:52:48

linux命令:ssh root@server 'tail --max-unchanged-stats=10 -n0 -F /var/log/auth.log ' | grep Accepted | while read l ; do kdialog --title "SSH monitor" --passivepopup "$l" 3; done done 3; "$l" --passivepopup monitor" "SSH --title kdialog do ; l read while | Accepted grep | ' /var/log/auth.log -F -n0 --max-unchanged-stats=10 'tail root@server ssh ssh root@server 'tail --max-unchanged-stats=10 -n0 -F /var/log/auth.log ' | grep Accepted | while read l ; do kdialog --title "SSH monitor" --passivepopup "$l" 3; donerootopen.com
linux命令:ssh root@server 'tail --max-unchanged-stats=10 -n0 -F /var/log/auth.log ' | grep Accepted | while read l ; do kdialog --title "SSH monitor" --passivepopup "$l" 3; done done 3; "$l" --passivepopup monitor" "SSH --title kdialog do ; l read while | Accepted grep | ' /var/log/auth.log -F -n0 --max-unchanged-stats=10 'tail root@server ssh ssh root@server 'tail --max-unchanged-stats=10 -n0 -F /var/log/auth.log ' | grep Accepted | while read l ; do kdialog --title "SSH monitor" --passivepopup "$l" 3; donerootopen.com
2018-02-14 10:51:48

linux命令:ssh-keygen -R hostname hostname -R ssh-keygen ssh-keygen -R hostnamerootopen.com
linux命令:ssh-keygen -R hostname hostname -R ssh-keygen ssh-keygen -R hostnamerootopen.com
2018-03-29 02:13:48

linux命令:ssh -t remote_host screen -r -r screen remote_host -t ssh ssh -t remote_host screen -rrootopen.com
linux命令:ssh -t remote_host screen -r -r screen remote_host -t ssh ssh -t remote_host screen -rrootopen.com
2017-12-30 07:34:48

linux命令:ssh -t user@host screen -x <screen name> name> <screen -x screen user@host -t ssh ssh -t user@host screen -x <screen name>rootopen.com
linux命令:ssh -t user@host screen -x <screen name> name> <screen -x screen user@host -t ssh ssh -t user@host screen -x <screen name>rootopen.com
2018-01-13 13:16:48

linux命令:ssh-copy-id user@host user@host ssh-copy-id ssh-copy-id user@hostrootopen.com
linux命令:ssh-copy-id user@host user@host ssh-copy-id ssh-copy-id user@hostrootopen.com
2018-01-12 15:25:48

linux命令:ssh root@pyramid \ "tcpdump -nn -i eth1 -w -" | snort -c /etc/snort/snort.conf -r - - -r /etc/snort/snort.conf -c snort | -" -w eth1 -i -nn "tcpdump \ root@pyramid ssh ssh root@pyramid \ "tcpdump -nn -i eth1 -w -" | snort -c /etc/snort/snort.conf -r -rootopen.com
linux命令:ssh root@pyramid \ "tcpdump -nn -i eth1 -w -" | snort -c /etc/snort/snort.conf -r - - -r /etc/snort/snort.conf -c snort | -" -w eth1 -i -nn "tcpdump \ root@pyramid ssh ssh root@pyramid \ "tcpdump -nn -i eth1 -w -" | snort -c /etc/snort/snort.conf -r -rootopen.com
2018-04-10 16:13:48

linux命令:ssh middlehost "ssh -a root@securehost '> nicescript'" < nicescript nicescript < nicescript'" '> root@securehost -a "ssh middlehost ssh ssh middlehost "ssh -a root@securehost '> nicescript'" < nicescriptrootopen.com
linux命令:ssh middlehost "ssh -a root@securehost '> nicescript'" < nicescript nicescript < nicescript'" '> root@securehost -a "ssh middlehost ssh ssh middlehost "ssh -a root@securehost '> nicescript'" < nicescriptrootopen.com
2018-02-25 12:17:48

linux命令:ssh -t hostA ssh hostB hostB ssh hostA -t ssh ssh -t hostA ssh hostBrootopen.com
linux命令:ssh -t hostA ssh hostB hostB ssh hostA -t ssh ssh -t hostA ssh hostBrootopen.com
2018-04-18 08:46:48

linux命令:ssh user@remotehost [anycommand](i.e uptime,w) uptime,w) [anycommand](i.e user@remotehost ssh ssh user@remotehost [anycommand](i.e uptime,w)rootopen.com
linux命令:ssh user@remotehost [anycommand](i.e uptime,w) uptime,w) [anycommand](i.e user@remotehost ssh ssh user@remotehost [anycommand](i.e uptime,w)rootopen.com
2018-05-17 19:10:48

linux命令:ssh -f -L3307:127.0.0.1:3306 -N -t -x user@host sleep 600 ; mk-table-sync --execute --verbose u=root,p=xxx,h=127.0.0.1,P=3307 u=root,p=xxx,h=localhost u=root,p=xxx,h=localhost u=root,p=xxx,h=127.0.0.1,P=3307 --verbose --execute mk-table-sync ; 600 sleep user@host -x -t -N -L3307:127.0.0.1:3306 -f ssh ssh -f -L3307:127.0.0.1:3306 -N -t -x user@host sleep 600 ; mk-table-sync --execute --verbose u=root,p=xxx,h=127.0.0.1,P=3307 u=root,p=xxx,h=localhostrootopen.com
linux命令:ssh -f -L3307:127.0.0.1:3306 -N -t -x user@host sleep 600 ; mk-table-sync --execute --verbose u=root,p=xxx,h=127.0.0.1,P=3307 u=root,p=xxx,h=localhost u=root,p=xxx,h=localhost u=root,p=xxx,h=127.0.0.1,P=3307 --verbose --execute mk-table-sync ; 600 sleep user@host -x -t -N -L3307:127.0.0.1:3306 -f ssh ssh -f -L3307:127.0.0.1:3306 -N -t -x user@host sleep 600 ; mk-table-sync --execute --verbose u=root,p=xxx,h=127.0.0.1,P=3307 u=root,p=xxx,h=localhostrootopen.com
2018-03-01 02:13:48

linux命令:ssh user@machine_A dd if=/dev/dvd0 > dvddump.iso dvddump.iso > if=/dev/dvd0 dd user@machine_A ssh ssh user@machine_A dd if=/dev/dvd0 > dvddump.isorootopen.com
linux命令:ssh user@machine_A dd if=/dev/dvd0 > dvddump.iso dvddump.iso > if=/dev/dvd0 dd user@machine_A ssh ssh user@machine_A dd if=/dev/dvd0 > dvddump.isorootopen.com
2018-02-24 14:24:48

Linux的Bash命令行(A-Z排序)