stream { server { ... } }
stream {
server {
listen $ext_ip:5432 so_keepalive=on;
proxy_pass $lan_ip:5432;
}
}
tar -cz /home/target | sshpass -p 'pwd' ssh -p 23 username@server.com 'cd /unpack/me/here && tar -zx'
tar cvfz - --ignore-failed-read --directory /var/www/3dpaneli.ru/web . |ssh root@89.207.93.148 cd /tmp/test/aa;tar xvfz -"
ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 root@ip_address
1 <1 мс <1 мс <1 мс lmlicenses.wip4.adobe.com [127.0.0.1]
консольный
dd if=win.iso of=/dev/sdX bs=1024k status=progress