windows下用pscp
pscp -P 22 -r /path_from/* root@192.168.1.1:/path_to/
linux下: scp /path_from/* root@192.168.1.1:/path_to/