So, I'm attempting to simply transfer a unix file (demo) from a server to my local computer via ssh and scp. In Putty, I'm using the command as follows:
scp hasanjee@cs.utm.utoronto.ca:~/A1/demo \desktop
this works and even downloads:
demo 100% 4096 885.9KB/s 00:00
I've tried multiple directories:
scp hasanjee@cs.utm.utoronto.ca:~/A1/demo \desktop\demo
What am I missing here? Any ideas? I am using Windows 10
maybe try adding a full path...
scp -P 22 hasanjee@cs.utm.utoronto.ca:~/A1/demo/somefile C:\Users\{username}\Desktop\
-p: portnumber
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.