I am currently working on a windows 10 laptop. I have installed the
ubuntu subsystem (instead of PUTTY) in it to access the remote server. When I launch the
ubuntu subsystem from my windows start menu, it opens with a command prompt
The remote server is a Linux server as well.
In addition, I am connected to a VPN. If I don't connect to the VPN, I will not be able to login to the remote server.
So, what I would like to do is download the file from a remote server to my laptop
From ubuntu subsystem, I use SSH 220.127.116.11 9 (IP address of remote server)
Later I navigate to the path where the file is
pwdto get the path of the file
Later I type the below command
scp firstname.lastname@example.org:/home/test/project/data/abc/map.csv user@PC01Y21-PC:/home/user/
I was expecting that this command would work and the file would be saved in the
user folder of
ubuntu subsystem but I get the below error
ssh: Could not resolve hostname pc01y21-pc: Name or service not known lost connection
I would like to copy the map.csv file to the
/home/user/ folder in ubuntu system.
Later, I will move it to
/mnt/c/ folder so I can access it from my laptop
Can help me please?