scp remote to remote routing How to transfer a file between two remote servers using scp from a third, local machine? # -3 옵션이 라우팅하도록 설정하는 옵션 scp -3 user1@remote1:/home/user1/file1.txt user2@remote2:/home/user2/file1.txt os/Linux 2017.04.10
mysql get remote ip address Retrieve client ip address in mysql SELECT USER(); -- root@192.168.26.1 SELECT CURRENT_USER(); -- root@% select host from information_schema.processlist WHERE ID=connection_id(); -- 192.168.26.1:54755 select INET_ATON(LEFT(HOST, LOCATE(':', HOST)-1)) AS IP from information_schema.processlist WHERE ID=connection_id(); -- 3232242177 db/mysql 2015.12.22