本地开发与linux服务器端的文件传输

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/