Forrest logo
back to context overview

scp

List of commands for scp:

  • scp:ai:3787c Transfers files from localhost to a krunvm using scp.
    $ scp ${local_${filename}} ${krunvm_ssh_user}@${krunvm_ip}:${destination_path}
    try on your machine
    explain this command
  • scp:ai:c816f How to share local files with a krunvm microvm
    $ scp ${LOCAL_FILE_PATH} ${USERNAME}@${MICROVM_IP_ADDRESS}:${REMOTE_FILE_PATH}
    try on your machine
    explain this command
  • scp:copy:local-to-remote Copy a local file to a remote host.
    $ scp ${path/to/local_file} ${remote_host}:${path/to/remote_file}
    try on your machine
    explain this command
  • scp:copy:remote-to-file Copy a file between two remote hosts transferring through the local host.
    $ scp -3 ${host1}:${path/to/remote_file} ${host2}:${path/to/remote_directory}
    try on your machine
    explain this command
  • scp:tldr:16187 scp: Recursively copy the contents of a directory from a remote host to a local directory.
    $ scp -r ${remote_host}:${path-to-remote_directory} ${path-to-local_directory}
    try on your machine
    explain this command
  • scp:tldr:a2a8e scp: Use a specific port when connecting to the remote host.
    $ scp -P ${port} ${path-to-local_file} ${remote_host}:${path-to-remote_file}
    try on your machine
    explain this command
back to context overview