$ scp -P [port] [보낼파일] xxx@[ip addr]:~
ex) scp -P 22 test.txt abc@11.22.33.44
위의 명령을 통해 scp를 수행했는데 아래와 같은 에러가 떴다.
subsystem request failed on channel 0
scp: Connection closed
-O 옵션을 추가해주면 문제가 해결된다.
$ scp -O -P 22 test.txt abc@11.22.33.44
'개발일기 > Trouble Shooting' 카테고리의 다른 글
Error: initrd is too big (0) | 2023.06.19 |
---|---|
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed. (0) | 2023.04.17 |
RocksDB Build RTTI Error (0) | 2022.10.12 |
Ubuntu 20.04 tex-common error (0) | 2022.09.29 |
Linux Kernel NPM compile error (2) | 2021.05.25 |