Skip to content
정명주(myeongju.jung) edited this page Apr 17, 2019 · 1 revision

nc 파일 전송

target

# ssh 10.10.10.10
# nc를 통해서 특정 포트를 열어둔다 (서버)
nc -l 2222 > foo.log

source

# ssh 11.11.11.11
# nc를 통해서 특정 장비로 보낸다 (클라이언트)
nc 10.10.10.10 2222 < foo.log
Clone this wiki locally