Commonly used · Troubleshooting the network
scp:Copy files via SSH
Syntax
scp [-r] source user@host:targetOptions
-r- Copy directories recursively
Examples
scp report.txt user@server:/tmp/Usage and sandbox support
Just for review: a real remote connection is required.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
ipQuery address and routingssView sockets and listening portspingCheck host connectivitydigQuery DNS recordsnslookupQuery host addresscurlRequest URL or download contentwgetDownload filesshLog in to the remote machinehostQuery DNStracerouteProbing network routestracepathDetection path and MTUmtrContinuously observe routing and packet lossncTest connection or listening portsocatConnect data streams to socketstcpdumpCapture network packetsnmapDetect authorized host portethtoolQuery network interface informationnmcliManage NetworkManager connectionssftpTransfer files interactively through SSHssh-keygenGenerate SSH keyssh-copy-idInstall the SSH public keyopensslCheck TLS with certificate