I need to execute scp command with renaming the file.I have tried with following code:HOST=lnx25USERNAME=ngqaPASSWORD=xxxxxFILE=$1FILE_NAME=`echo $FILE | awk 'BEGIN{FS=/} {print $NF;}'`todayDateVar=`date | awk 'BEGIN{FS= ;OFS=_} {print $2,$3,$6;}'`REPORT_HOME=/dnbusr1/ngqa/scp_script/new/DES_PATH=/ngdata/nc_donotdelete/test_out_files/$FILE_NAME.$todayDateVarscp $FILE $USERNAME:$PASSWORD@$HOST:sys_config $DES_PATHResult: (Run with ./scp.sh sample.obj)/ngdata/nc_donotdelete/test_out_files/sample.obj.Sep_23_2014: No such file or directoryI guess this error indicates none of directory available in that name.But whenever i tried without renaming file means it works fine. The following code works fine without renaming the file.DES_PATH=/ngdata/nc_donotdelete/test_out_filesIt copied the file name as sample.obj at destination directory.But i need to copy the file with renaming. 
scp with password and renaming the file
shell script;rename;scp