I am using the below command to scp
the file to destination server ( $server
).
The ssh keys have been created between the source and destination servers. Still I am getting password authentication after executing the below scp
command:
scp $Local_dir/$file_pattern* $username@$server:/$ftp_dir/
Pls suggest