I have a list of files on the host machine in the / src / directory. The directory has more subdirectories. Now this directory is copied to the remote computer after installation. The files are now preconfigured on the remote computer in the / dst directory.
Example. If I had / src / a / f 1, / src / b / f2 I will be on the remote machine / dst / a / f 1, / dst / b / f2
Now I have only information about the host directory, the host file. Using this information, how can I access files on a remote machine using ssh in perl. I would need cd to / dst and read the files from there. How can I make this cd and read in one ssh command.
Thank.
source
share