/~/. This is quite the opposite to how FTP URLs work and is a common cause for confusion among users.
todo.txtfrom his home directory, it would look similar to this:
.sshsubdirectory in your home directory if the server offers public key authentication. When doing do, you still need to tell curl which user name to use on the server. For example, the user 'john' lists the entries in his home directory on the remote SFTP server called 'sftp.example.com':
RHvxC6wUAon a remote system and can download a file via SCP like this:
known_hostsand is put in a dedicated SSH directory. On Linux systems that is usually called
known_hostscurl can perform transfers.
known_hostsfile, you can use the
-k / --insecurecommand-line option. You must use this option with extreme care since it makes it possible for man-in-the-middle attacks not to be detected.