I would like to copy the map.csv file to the /home/user/ folder in ubuntu system. Scp :/home/test/project/data/abc/map.csv 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 I also did not find relevant material on internet. With Windows Subsystem for Linux (WSL, basically Ubuntu on Windows) you can now also open up Bash if your Local OS is Windows, and just use scp. ![]() Later I navigate to the path where the file is I know that I can upload and download files from/to a SFTP server using SftpClient class of SSH.NET library but I am not sure how can this class be used for copying or moving a remote file on the SFTP server. So to copy the local file c:\documents\foo.txt to the server as user fred to the file /tmp/foo you would type: pscp c:\documents\foo.txt :/tmp/foo. So, what I would like to do is download the file from a remote server to my laptopįrom ubuntu subsystem, I use SSH 172.11.222.8 9 (IP address of remote server) To send (a) file (s) to a remote server: pscp options source source. If I don't connect to the VPN, I will not be able to login to the remote server. When I launch the ubuntu subsystem from my windows start menu, it opens with a command prompt remote server is a Linux server as well. ![]() I have installed the ubuntu subsystem (instead of PUTTY) in it to access the remote server. This article describes how to transfer a file from and to a remote server.Copying files and directories with SCP or RsyncYou can use SecureShell (SSH) or. ![]() I am currently working on a windows 10 laptop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |