Skip to main content

Copy File từ ssh server sang Unix Type OS hoặc Windows

vào sudo vi /etc/ssh/sshd_config

kiếm Compression, chuyển nó thành Compression yes, save lại và restart với sudo service ssh restart

vào máy unix local / window local , xài command này:

scp -p -C -o "Compression yes" -o "IPQoS throughput" -r username@abc.kyluat.com:/path/to/dir/ /mnt/abc/folder/

đối với windows thì thêm chữ p vào đầu dòng: 

pscp.exe username@remoteHost:/remote/dir/file.txt d:\