Post

Copy store.php to websupport linuxinuse.com via sftp

How to transfer files to a web hosting provider using scp with password authentication and sftp with a specific host key algorithm.

Use scp to copy a file to a remote host with password authentication (public key disabled), or use sftp to connect interactively with a specific host key algorithm.

1
2
3
scp  -o PubkeyAuthentication=no store.php  linuxinuse.com@linuxinuse.com:web/tw/

sftp  -o HostKeyAlgorithms=ssh-rsa  devopsinuse.com@devopsinuse.com
This post is licensed under CC BY 4.0 by the author.