Windows 환경에서 remote 리눅스 환경으로 파일을 다운로드 받거나 업로드 하는 방법입니다.
putty가 설치되지 않았으면, 아래 링크를 이용해서 putty를 설치합니다.
Download PuTTY - a free SSH and telnet client for Windows
Is Bitvise affiliated with PuTTY? Bitvise is not affiliated with PuTTY. We develop our SSH Server for Windows, which is compatible with PuTTY. Many PuTTY users are therefore our users as well. From time to time, they need to find the PuTTY download link. W
www.putty.org
1. cmd 실행
2. putty가 설치된 경로로 이동
파일 업로드
pscp [Windows 업로드 파일 경로] [리눅스계정]@[리눅스 접속 IP]:[다운로드 받을 파일경로]
pscp c:\upload.zip userID@192.168.1.100:/home/user/download.zip
c:\upload.zip 파일을 192.168.1.100 IP주소의 remote 리눅스 머신에 userID계정으로 전송하고 /home/user/download.zip 경로에 저장
파일 다운로드
pscp [리눅스계정]@[리눅스 IP 주소]:[업로드 파일 경로] [다운로드 받을 경로]
pscp userID@192.168.1.100:/home/user/upload.zip c:\download.zip
특정 포트로 전송해야하는 경우
pscp -P [port] c:\upload.zip userID@192.168.1.100:/home/user/download.zip
포트 번호를 추가해서 사용할 수 있습니다.
'Windows' 카테고리의 다른 글
Visual Studio 2017/2019/2022 도구 상자에 컨트롤이 보이지 않는 문제 (0) | 2023.05.23 |
---|---|
Windows 10 Product Key 찾는 방법 (0) | 2023.04.19 |
파일 디스크 (VHD/VHDX) 만들기 (0) | 2021.01.04 |
조각모음 툴 소개 (Contig) (0) | 2021.01.04 |
여러 파일을 한 번에 rename 하는 방법 (Rename multi files) (0) | 2021.01.02 |