2つのLinuxサーバーはファイルを相互に転送し、LinuxとローカルWindowsはファイルを相互に転送します

1つ、Linux相互送信scp

現在のLinuxからリモートLinuxにファイルまたはディレクトリを転送する

scp  /home/test/test.txt [email protected]:/home/test2
scp -r /home/test [email protected]:/home/test2

現在のLinux転送ファイルまたはディレクトリへのリモートLinux転送

scp -r  [email protected]:/home/test2 /home/test

2つ、LinuxとWindowsは相互に転送します

rzアップロード

szダウンロード

コマンドなし、インストールする必要があります:yum install lrzsz

3、ツールWinSCP.exe

WindowsでLinuxサーバーファイルをアップロードおよびダウンロードします。Linux上のファイルを直接変更できます。

おすすめ

転載: blog.csdn.net/x18094/article/details/106629189