Once I’ve ssh’d into my remote server, what would the command be to copy all files from a directory to a local directory on my machine?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From your local machine:
From your local machine with a non standard ssh port:
Or from the remote host, assuming you really want to work this way and your local machine is listening on SSH:
See
man rsyncfor an explanation of my usual switches.