Tim Snyder Posted July 28, 2020 Share Posted July 28, 2020 Does anyone know how to use the "scp device.config root@172.16.84.1:/etc/" command using Windows 10? Quote Link to comment Share on other sites More sharing options...
Irukandji Posted July 28, 2020 Share Posted July 28, 2020 (edited) Winscp. Or you can install the openssh Client. https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse Edited July 28, 2020 by Jtyle6 Quote Link to comment Share on other sites More sharing options...
kuyaya Posted July 28, 2020 Share Posted July 28, 2020 (edited) If you have an updated machine, scp should be pre-installed in the command line. It's insalled on my machine and I don't remember installing any third party tool for scp in command line. Type "scp" in cmd and see if it finds the command. If not, consider using the options from Jtyle6 Edited July 28, 2020 by kuyaya Quote Link to comment Share on other sites More sharing options...
Void-Byte Posted July 29, 2020 Share Posted July 29, 2020 Here's a couple examples. Command Copy file from remote host to local host. scp [user]@[host]:[path] [path] Copy file from local host to remote host. scp [path] [user]@[host]:[path] Copy file from remote host to remote host. scp [user]@[host]:[path] [user]@<host>:<path> Example Running the command (remote to local). scp user@123.46.67.89:/file/to/copy.txt /path/to/save.txt Running the command (local to remote). scp /file/to/copy.txt user@123.46.67.89:/path/to/save.txt Running the command (remote to remote). scp user@123.46.67.89:/file/to/copy.txt user@987.65.43.21:/path/to/save.txt 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.