Below is my code to copy one folder from one path to another path after login to remote server. Problem I am facing, once after login to remote server I am not able to copy the source directory to destination directory.echo PLEASE ENTER LIB NAME read dirnameecho You entered: $dirnameecho PLEASE ENTER VERSIONecho example 1.0   etcread versionNOW=$(date +%Y%m%d)echo date $NOW##FOR=$(rev<<$NOW)echo PLEASE ENTER EXTENSIONecho example 0.0 or 0.1 etcread date_extensionecho You entered: $date_extensionmkdir ${dirname}@${version}@${NOW}${date_extension}TAG_DIR=${dirname}@${version}@${NOW}${date_extension}mkdir $TAG_DIR/CDSOAcd $TAG_DIR/echo `pwd`echo PLEASE ENTER SOURCE LIB PATHread  pathPATH1=$(cp -Rf $path  `pwd`)echo entered path : $PATH1read path2echo PLEASE ENTER DESTINATION  PATHecho $path2ssh -l prj/ dlhl0654cp -rf $TAG_DIR  $path2echo aaaa
not able to copy after login to remote server
copy