Is it possible to copy files from one computer (which is remotely accessing another one through terminal) to the other one? [closed]

StackOverflow https://stackoverflow.com/questions/19285468

문제

I'm using a Mac to remotely access a computer in my university's computer lab. The Mac serves as a terminal. If I need to transfer some files from my computer into the one in the lab, is it, firstly, possible? If yes, then please guide me to it.

도움이 되었습니까?

해결책

Absolutely, use the UNIX / Linux command scp (secure copy):

$ scp user@server:directory/SourceFile TargetFile

Update based on OP's response:

$ scp path/to/my/file.txt user@server.com:/path/to/copy/to/file.txt
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top