우당탕탕 도비의 코딩로그

local 에서 remote server 로 file 복사하기 본문

ERROR_SOLUTION/REMOTE SERVER

local 에서 remote server 로 file 복사하기

dobbie 2021. 2. 28. 18:20
반응형

Copy files from local to a remote server

 

local에서 reomte server로 file 을 복사할 때 쓰는 command

scp /[path_to_file]/[file_name] [username]@[hostname]:/[path_to_destination]

* port 를 지정해주어야 할때는 

scp -P [port_number] /[path_to_file]/[file_name] [username]@[hostname]:/[path_to_destination]
반응형
Comments