Skip to Content

How to copy files from desktop to Gateway servers using WinSCP

Transfer files from local desktop to Ezeelogin Gateway


Synopsis:This article guides Ezeelogin gateway users on how to copy files to the gateway user's folder on the Ezeelogin gateway using WinSCP or FileZilla or SCP or SFTP.


Use 'WinSCP' or 'FileZilla' application or 'sftp' or 'scp' command to transfer files from your desktop or local machines to the Ezeelogin gateway. Once the file is on the gateway server, you can you use the Secure Copy or Parallel Copy feature to transfer the file to other remote servers behind the ssh jump host.

1. Copy/transfer files from local desktop to Ezeelogin gateway using WINSCP Software?
 
Step 1(A): Open WinSCP and select SFTP file protocol, provide the hostname, username, password, and port number of the Ezeelogin gateway server in the respective fields as shown below. Click on the login button to connect to the Ezeelogin gateway server.
 
 
Step 1(B): Right-click on the file and click on the Upload button to transfer the file to the Ezeelogin gateway server as shown below. Also, you can drag and drop the file to the gateway user's folder.
 
 
 

Note: If you use SCP protocol to transfer the file from your Desktop to the Ezeelogin gateway it won't work, and will get the following error.

 
 
2. Copy/transfer files from local desktop to Ezeelogin gateway using FILEZILLA Software?
 
Step 2(A): Open FileZilla application and provide the hostname, username, password, and Port number of the Ezeelogin gateway server in the respective fields as shown below. Click on the Quickconnect button to connect to the Ezeelogin gateway server.
 
 
Step 2(B): Right-click on the file and click on the Upload button to transfer the file to the Ezeelogin gateway server as shown below. Also, you can drag and drop the file to the gateway user's folder.
 
 
3. Copy/transfer files from local desktop to Ezeelogin gateway using SCP or SFTP commands
 

Authenticate using the ssh gateway user name for scp or sftp to upload the file into the home directory of the ssh gateway user.

Step 3(A): Using SCP

scp /your/file/name your-ssh-gateway-user@gateway-server-host:~/

The below command would transfer the file 'test' from the  desktop to the ssh gateway

scp -P30004 test [email protected]:~/

Step 3(B): Using SFTP

sftp [email protected]
sftp> put ioncube_loaders_lin_x86-64.tar.gz
sftp> ls
ezsh.log                                 ioncube_loaders_lin_x86-64.tar.gz        
sftp> pwd
Remote working directory: /home/john
sftp> 


Related Articles: