diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-03-23 17:59:40 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-03-23 17:59:40 +0000 |
commit | 0043e870145d167003931cda2fd90b5e13b0b7f8 (patch) | |
tree | a8d633e4505144346433fe8beec7bb792b3e286d /docs/MANUAL | |
parent | 0f634a0c899b2c21a4f7f4af480d94937bd81bf4 (diff) | |
download | curl-0043e870145d167003931cda2fd90b5e13b0b7f8.tar.gz |
Added --pubkey option to curl and made --key also work for SCP/SFTP,
plus made --pass work on an SSH private key as well.
Diffstat (limited to 'docs/MANUAL')
-rw-r--r-- | docs/MANUAL | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/MANUAL b/docs/MANUAL index dd063911d..d087c3b22 100644 --- a/docs/MANUAL +++ b/docs/MANUAL @@ -7,7 +7,7 @@ LATEST VERSION SIMPLE USAGE - Get the main page from netscape's web-server: + Get the main page from Netscape's web-server: curl http://www.netscape.com/ @@ -39,6 +39,15 @@ SIMPLE USAGE curl --ftp-ssl ftp://files.are.secure.com/secrets.txt + Get a file from an SSH server using SFTP: + + curl -u username sftp://shell.example.com/~/personal.txt + + Get a file from an SSH server using SCP using a private key to authenticate: + + curl -u username: --key ~/.ssh/id_dsa --pubkey ~/.ssh/id_dsa.pub \ + scp://shell.example.com/~/personal.txt + DOWNLOAD TO A FILE |