How to copy files from desktop to Gateway servers using WinSCP
How to transfer files from the local desktop to Ezeelogin gateway?
Overview: 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, 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 the local desktop to the Ezeelogin gateway using WINSCP Software.
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.
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
root@desktop:$ scp /your/file/name ssh_gateway_user@gateway_server_host:~/
root@desktop:$ scp -P30004 test [email protected]:~/
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>