Search code examples
windowscentoshyper-v

upload files to centOs


How can I upload files to centOs linux that are on hyper-v on the host windows server 2012? I know that I can use fileZilla or whatever ftp client. Is there a way to upload it without installing ftp client?


Solution

  • You can use

    scp [from] [to]

    scp user@homeip:/path/to/file /local/path/
    

    If you want to upload a folder :

    scp -r [email protected]:/path/to/foo /home/user/Desktop/