[SOLVED] Copying file from server to home computer.
CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@vinay ~]# scp final.pdf root@vinay:1 -R 5:xxx.xxx.xxx.xxx:5 /home/joyyy/Downloads
cp: cannot stat final.pdf: No such file or directory
root@vinay's password:
scp: 1: No such file or directory
cp: cannot stat -R: No such file or directory
ssh: connect to host 5 port 22: Invalid argument
[root@vinay ~]#
is it that ssh'd is not installed on this directory
sorry mate
no i am running it through putty from windows,also note that i have got the desktop environment running on the vpn.i can access it by VNC.
i am only learning to use command lines and putty.
I suggest using a windows sftp client application like winscp or filezilla. You can also download pscp from the PuTTy site that works just lke the native scp linux client.
You can not use scp as desired without having a ssh server running on the windows computer.
Hard to copy a file that doesn't exist where you think it is. Good luck.
sorry mate the diretory that i used was wrong instead of 'downloads' i used 'download'
it still doesn't copy the file to my computer this is what i get:
I suggest using a windows sftp client application like winscp or filezilla. You can also download pscp from the PuTTy site that works just lke the native scp linux client.
You can not use scp as desired without having a ssh server running on the windows computer.
ok i will try it thank you
how can i install an ssh server on my pc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.