Debian Codegraph @

docs/dev/logs/2013-05-17.ssh-callback-socat

raw
1
2 start ssh
3 to controlhost,
4 bind other side to
5 localhost:22
6
7
8 targethost ------> ssh ------> controlhost
9 |
10 |
11 socat: connect stdin/stdout to ?
12 start cdist with port information
13 added
14
15
16 Use
17
18 socat
19
20
21 --------------------------------------------------------------------------------
22 TCP:<host>:<port>
23 Connects to <port> [TCP service] on <host> [IP address] using TCP/IP version 4 or 6 depending on address specifi‐
24 cation, name resolution, or option pf.
25 Option groups: FD,SOCKET,IP4,IP6,TCP,RETRY
26 Useful options: crnl, bind, pf, connect-timeout, tos, mtudiscover, mss, nodelay, nonblock, sourceport, retry,
27 readbytes
28 See also: TCP4, TCP6, TCP-LISTEN, UDP, SCTP-CONNECT, UNIX-CONNECT
29
30 forever
31 --------------------------------------------------------------------------------
32 [root@nico-dev-vm-snr01 yum.repos.d]# ps aux | grep socat
33 nico 25035 0.0 0.0 41640 1524 ? Ss 13:27 0:00 socat - TCP-LISTEN:1234
34 root 25037 0.0 0.0 103240 836 pts/1 S+ 13:27 0:00 grep socat
35 [root@nico-dev-vm-snr01 yum.repos.d]#
36
37
38
39 --------------------------------------------------------------------------------
40