...
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]~# ssh -t root@host ''su -site' "lq 'GET hosts\nColumns: name'" |
For TLS connection
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]~# echo -e "GET hosts\nColumns: name\n"| openssl s_client -connect "ipaddress:port number" -ign_eof -quiet |
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]~# ssh -t root@host ''su -site' "lq 'GET hosts\nColumns: name'" |
For TLS connection
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]~# echo -e "GET hosts\nColumns: name\n"| openssl s_client -connect "ipaddress:port number" -ign_eof -quiet |
...