atthis 2023. 3. 14. 11:26

로컬에서 원격지 전송 (linux ===> linux)
scp /DATA/test1.txt root@192.168.000.000:/home/user01/

원격지에서 로컬로 전송 (linux <=== linux)
scp root@192.168.000.000:/home/user01/test1.txt /DATA

로컬에서 원격지 전송 (windows ===> linux)
scp C:\test1.txt root@192.168.000.000:/home/user01/

원격지에서 로컬로 전송 (windows <=== linux)
scp root@192.168.000.000:/home/user01/test1/txt C:\

로컬에서 원격지 전송 (linux ===> windows)
scp /DATA/test1.txt administrator@172.16.000.000:/C:\

원격지에서 로컬로 전송 (linux <=== windows)
scp administrator@172.16.000.000:/C:\test1.txt /DATA/