1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: pubkey 5*6236dae4SAndroid Build Coastguard WorkerArg: <key> 6*6236dae4SAndroid Build Coastguard WorkerProtocols: SFTP SCP 7*6236dae4SAndroid Build Coastguard WorkerHelp: SSH Public key filename 8*6236dae4SAndroid Build Coastguard WorkerCategory: sftp scp ssh auth 9*6236dae4SAndroid Build Coastguard WorkerAdded: 7.16.2 10*6236dae4SAndroid Build Coastguard WorkerMulti: single 11*6236dae4SAndroid Build Coastguard WorkerSee-also: 12*6236dae4SAndroid Build Coastguard Worker - pass 13*6236dae4SAndroid Build Coastguard WorkerExample: 14*6236dae4SAndroid Build Coastguard Worker - --pubkey file.pub sftp://example.com/ 15*6236dae4SAndroid Build Coastguard Worker--- 16*6236dae4SAndroid Build Coastguard Worker 17*6236dae4SAndroid Build Coastguard Worker# `--pubkey` 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard WorkerPublic key filename. Allows you to provide your public key in this separate 20*6236dae4SAndroid Build Coastguard Workerfile. 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard Workercurl attempts to automatically extract the public key from the private key 23*6236dae4SAndroid Build Coastguard Workerfile, so passing this option is generally not required. Note that this public 24*6236dae4SAndroid Build Coastguard Workerkey extraction requires libcurl to be linked against a copy of libssh2 1.2.8 25*6236dae4SAndroid Build Coastguard Workeror higher that is itself linked against OpenSSL. (Added in 7.39.0.) 26