jetsung croc:设备间的文件传输工具 croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following: allows any two computers to transfer data (using a relay) provides end-to-end encryption (using PAKE) enables easy cross-platform transfers (Windows, Linux, Mac) allows multiple file transfers allows resuming transfers that are interrupted local server or port-forwarding not needed ipv6-first with ipv4 fallback can use proxy, like tor https://github.com/schollz/croc
jetsung ## 服务器端 # 可设置环境变量 # CROC_PASS 密码 croc --pass PASS relay --ports 9009,9010,9011,9012,9013 客户端 # 可设置环境变量 # CROC_PASS 密码 # CROC_RELAY 服务器IP与端口 croc --relay bore.server:9009 send --text hello 安装 go install github.com/schollz/croc/v10@latest 发送 $ croc send [file(s)-or-folder] Sending 'file-or-folder' (X MB) Code is: code-phrase 接收 croc code-phrase