How to Transfers Files from Local System to Linux Server using SSH with Public Key

How to Transfers Files from Local System to Linux Server using SSH with Public Key

In this post we will describe How to Transfers Files from Local System to Linux Server using SSH with Public Key. As I had already discussed in my last post about disconnected No supported authentication methods available server sent publickey google cloud ssh. This error also comes when i try to transfer files from local system to Linux Server.

Here I am going to describe the steps involved to transfer files using SSH with public key.

1. Follow all the steps mention in this disconnected No supported authentication methods available server sent publickey google cloud ssh post.

2. Now run command prompt as administrator.

3. Go to Putty directory using cd command.

4. Now execute following command and your file will start transferring to your Linux Server.

pscp.exe C:\Users\Downloads\1.zip hightechnology@10.142.0.2:/root/data

How to Transfers Files from Local System to Linux Server using SSH with Public Key

In above command hightechnology is the key comment we created in above mentioned post, 10.142.0.2 is Linux server IP address(replace it with your IP address), /root/data is directory on Linux Server where we are transferring file change it with your directory.