I would like to run a Python script in my home directory that pulls data from various files. However, to access these files I need to log into an SSH and then navigate to a certain directory. Is there a way to do this while running my script in my home directory?
I would just copy them over using scp, but there are thousands, so I don't think this would be very efficient (but is a last resort option). Thanks!