Update README.md

This commit is contained in:
apokalyptik
2020-03-31 10:10:56 -07:00
committed by GitHub
parent 481f9001ff
commit c9f0bcd878

View File

@@ -74,7 +74,7 @@ Below is an incomplete list of commonly used args:
| `--insecure` | Don't verify server's certificate | | `--insecure` | Don't verify server's certificate |
| `--cacert <file>` | Use as CA certificate store. Useful when a server has a self-signed certificate | | `--cacert <file>` | Use as CA certificate store. Useful when a server has a self-signed certificate |
#### SFTP (FTP ovder SSH) #### SFTP (FTP over SSH)
If you are getting a curl error similar to `SSL peer certificate or SSH remote key was not OK` and you are using SFTP (which is different from FTPS) then you need to supply a known_hosts entry via the `known-hosts` configuration option.. If you are getting a curl error similar to `SSL peer certificate or SSH remote key was not OK` and you are using SFTP (which is different from FTPS) then you need to supply a known_hosts entry via the `known-hosts` configuration option..
If you are on Linux, or OSX (using homebrew) you can install the OpenSSH packages and use `ssh-keyscan <hostname>` to get the known_hosts value needed for the server you are connecting to. If you are on Linux, or OSX (using homebrew) you can install the OpenSSH packages and use `ssh-keyscan <hostname>` to get the known_hosts value needed for the server you are connecting to.