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:\

Revision #2
Created 5 July 2024 17:53:09 by Son.KyLuat
Updated 5 July 2024 17:57:35 by Son.KyLuat