Donnerstag, 2. Juni 2016

Transfer file from Windows to Linux

Required Software

  • PSCP
  • PuttyGen
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html



Generate Key

1. Start puttygen.exe on Windows

2. Change → "Number of bits in a generated key" to what you need, example 4096 or 2048

3. Click "Generate"


























4. Change "Key Comment"

5. Chose → "Key passpharse" and "Confirm passpharse"

6. Select and copy all of the text in the box labeled “Public key for pasting into OpenSSH authorized_keys file”.

7. Paste the public key from the Clipboard into the the authorized_keys file of the, which is located in the .ssh directory in your home directory on the remote host( If no such file is there we will have to manually create it).

8. Save the private key.

9. Use this code to transfer automatically 

echo y | pscp.exe -i privatekey.ppk -pw myPassword E:\Zinsmatrix\Zinsmatrix\*.csv* oracle@10.10.10.10:/home/oracle/Zins

Keine Kommentare:

Kommentar veröffentlichen