scp directory from remote ubuntu desktop to virtual machine

I want to transfer my project to a virtual machine. I have mac book, so I logged in to my Ubuntu 18.04 remote desktop. Still, I can't transfer my project directory to the virtual machine. I have moved my folder to the ubuntu desktop, and I thought that this command should work:

scp -r /home/parallels/Desktop/project/* snf-842537.vm.okeanos.grnet.gr:project

However, I get No such file or directory message in my terminal. What do you think I should try?

Thank you

2

1 Answer

Well, I feel like you don't need the wildcharacter. As long as you give the path of your directory, it will include all the files on it. Moreover you haven't defined your username for the okeanos VM( user@snf-xxxxx) and I am not sure if the syntax of the path you are using is correct (if you have the folder in your root directory you should use /project)

If your don't feel comfortable with the command line and the scp command, try to use a file transfer tool with a user interface. WinSCP is great for windows. For your mac you can try Cyberduck

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like