Move Files between Windows & Linux using Powershell

 Using Powershell to copy from Windows to Linux


Download pscp and save it to C:\Windows\system32

 C:\Users\Administrator\Desktop> 

pscp.exe -P 22 .\wallpaper.jpg thomasa@172.23.1.178:~

The server’s host key is not cached in the registry. You

have no guarantee that the server is the computer you

think it is.

The server’s ssh-ed25519 key fingerprint is:

ssh-ed25519 256 2d:a2:33:0e:0c:6b:88:81:7c:50:2a:ff:77:8b:4d:03

If you trust this host, enter “y” to add the key to

PuTTY’s cache and carry on connecting.

If you want to carry on connecting just once, without

adding the key to the cache, enter “n”.

If you do not trust this host, press Return to abandon the

connection.

Store key in cache? (y/n) yes

thomasa@172.23.1.178’s password:

wallpaper.jpg             | 80 kB |  80.4 kB/s | ETA: 00:00:00 | 100%

 Using Powershell to copy from Linux to Windows

Download putty-tools and install it 

thomasa@gitlab:~$ sudo apt install putty-tools

The command will copy the file license.txt from the current path to our Windows disk

pscp thomasa@172.23.1.178:license.txt  C:\temp

 


(Visited 42 times, 1 visits today)

By Ash Thomas

Ash Thomas is a seasoned IT professional with extensive experience as a technical expert, complemented by a keen interest in blockchain technology.

Leave a Reply