Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stensmo authored May 14, 2024
1 parent 9d04094 commit 9d9a1ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ Examples:
```
#You can also use it like this
df=DataFrame(CSV.File(SFTPClient.download(sftp, "/mydir/test.csv")))
# For certificate authentication, you can do this (since 0.3.8)
# For certificaes you can use this for setting it up
sftp = SFTP("sftp://mysitewhereIhaveACertificate.com", "myuser")
# Since 0.3.8 you can also do this
sftp = SFTP("sftp://mysitewhereIhaveACertificate.com", "myuser", "cert.pub", "cert.pem") # Assumes cert.pub and cert.pem is in your current path
# The cert.pem is your certificate (private key), and the cert.pub can be obtained from the private key.
# ssh-keygen -y -f ./cert.pem. Save the output into "cert.pub".
Expand Down

0 comments on commit 9d9a1ca

Please sign in to comment.