Transfer Files from One Server to Another Server Using SFTP

Share via:

Dear Readers,

In this article, we will see the following Transfer Files from One Server to Another Server Using SFTP.

Login as root and install sshpass package :

Create text file and Create .sh file
Create text file :

Create .sh file :

Execute the sh file :

[oracle@db2 u01]$ sh sftp.sh

Check Installed package :

Remove packages follow below steps

Check Installed package

Thank you for giving your valuable time to read the above information.
Follow us on 
Website  www.ktexperts.com
Facebook Page KTexperts
Linkedin Page : KT EXPERTS

Follow Me
Ramesh’s Linkedin : Atul Chandge

 

 

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Add Comment