copy file from one server to another in unix using scp with password code example
Example: scp command in unix
scp [options] username1@source_host:directory1/filename1 username2@destination_host:directory2/filename2
scp [options] username1@source_host:directory1/filename1 username2@destination_host:directory2/filename2