Skip to Content

How to copy or delete a file in jump server users home directory?

How to copy or delete a file in jump server users home directory?

Use sftp clients to copy files from the desktop to the gateway and to delete the files as well. The user first needs to sftp to the gateway server as shown below

[email protected]’s password:
Connected to
sftp> ls
sftp> put ioncube_loaders_lin_x86-64.tar.gz
Uploading ioncube_loaders_lin_x86-64.tar.gz to /home/john/ioncube_loaders_lin_x86-64.tar.gz
ioncube_loaders_lin_x86-64.tar.gz                                                                                                                100%   11MB  18.0MB/s   00:00    
sftp> ls
ezsh.log                           ioncube_loaders_lin_x86-64.tar.gz  
sftp> rm ioncube_loaders_lin_x86-64.tar.gz
Removing /home/john/ioncube_loaders_lin_x86-64.tar.gz