Skip to Content
SSH, The Secure Shell: The Definitive Guide, 2nd Edition
book

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

by Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes
May 2025
Beginner to intermediate
670 pages
12h 30m
Korean
O'Reilly Media, Inc.
Content preview from SSH, The Secure Shell: The Definitive Guide, 2nd Edition

파일 전송

SecureCRT는 SSH를 통해 시스템 간에 파일을 안전하게 전송하는 세 가지 방법을 제공합니다:

  • VCPVSFTP

  • X모뎀 또는 Z모뎀

  • SecureFX

17.7.1 vcp 및 vsftp 명령어

SecureCRT에는 파일을 안전하게 전송할 수 있는 명령줄 프로그램인 vcp가 함께 제공됩니다. 구문은 scp와 거의 동일합니다. 예를 들어, 로컬 파일 myfile을 원격 SSH 서버 server.example.com으로 복사하려면 smith로 인증하고 복사본의 이름을 newfile로 지정합니다:

    C:\> vcp myfile smith@server.example.com:newfile

VCP의많은 옵션은 SCP의옵션과 동일합니다:

-r

재귀 복사

-i

인증을 위한 공개 키 ID 지정

-v

디버깅을 위한 상세 플래그

그러나 다른 옵션은 다릅니다. 전체 사용 정보를 보려면 vcp를 직접 입력하세요.

vsftp는 SecureCRT와 함께 제공되는 FTP와 유사한 클라이언트로, FTP 클라이언트를 사용해 본 사람이라면 익숙하게 느껴질 것입니다. 전체 사용 정보를 보려면 vsftp -h를 실행하세요.

17.7.2 Zmodem 파일 전송

SecureCRT는 SSH를 통해 보안이 유지되는 구형 Xmodem 및 Zmodem 프로토콜을 사용한 파일 전송을 지원합니다. 이러한 프로토콜을 사용하려면 SSH 서버 머신에 Linux 머신에서 흔히 볼 수 있는 szrz (각각 Zmodem 송신 및 수신) 또는 sxrx (각각 Xmodem 송신 및 수신)와 같은 Xmodem 또는 Zmodem 프로그램이 설치되어 있어야 합니다. 예를 들어, 원격 서버 컴퓨터에서 로컬 클라이언트 컴퓨터로 Zmodem을 통해 파일을 전송할 수 있습니다:

  1. 원격 시스템에서 실행합니다:

        $ sz myfile
  2. SecureCRT는 자동으로 Zmodem 연결을 감지하고 다운로드를 수행하여 파일 전송 상태를 창에 표시합니다.

마찬가지로 파일을 업로드하는 방법도 마찬가지입니다:

  1. 원격 시스템에서 실행합니다:

        $ rz
  2. SecureCRT에서 전송/Z모뎀 업로드 목록을 선택하고 전송할 파일을 선택합니다. 그런 다음 전송/Z모뎀 업로드 시작을 선택합니다.

17.7.3 SecureFX

Windows 탐색기와 유사한 인터페이스를 갖춘 그래픽 파일 전송과 SecureCRT와의 통합을 원한다면 VanDyke의 상용 제품인 SecureFX를 고려해 보세요. 원격 SSH 서버에 인증하고 연결한 후에는 마우스로 컴퓨터 간에 파일을 끌어다 놓을 수 있습니다.

SecureFX에는 빠른 동기화라는 흥미로운 기능도 있는데, 이는 Palm 파일럿의 핫싱크와 거의 유사합니다. 로컬 컴퓨터에 파일 세트가 있고 원격 시스템에 백업 사본이 있다고 가정해 보겠습니다. 빠른 동기화 기능은 두 세트를 비교하여 차이점을 표시하고, 두 시스템 간에 파일을 안전하게 복사하여 동일하게 만들 수 있습니다. 두 시스템에서 파일을 편집한 경우에도 빠른 동기화를 통해 두 파일을 모두 최신 변경 내용으로 최신 상태로 유지할 수 있습니다.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes
Working with SSH

Working with SSH

ACI Learning, Don Pezet

Publisher Resources

ISBN: 9798341656383