- This topic is empty.
- AuthorPosts
-
November 25, 2020 at 3:41 am #9669
caue-evangelista
ParticipantI have a pretty novice question, but I’m really out of resources right now.
I’m trying to send a script to a remote machine. This script is in my local machine and it’s called model.py.
I can access the remote machine by typing
ssh [email protected]
(the remote machine knows my public key)I read about the usage of the scp and rsync commands. I tried:
rsync -v -e ssh /home/ecaue/ParticlePhysics/TCC/model.py [email protected]
and
scp -r [email protected] /home/ecaue/ParticlePhysics/TCC/model.py
but what I get is just a copy of my original file with another name ("[email protected]") in the same folder of my original file (like a clone with a different name).
I can access the remote machine and create conda environments and all kind of stuff(install tensorflow, keras,etc), but I’m not able to send my scrip and my dataset.
I would really appreciate any help!!
November 25, 2020 at 3:47 am #9670user14262883
ParticipantThe scp command should be:
scp PATH_TO_YOUR_SCRIPT/SCRIPT_NAME user@host:DESTINATION_PATH
So in you case:
scp /home/ecaue/ParticlePhysics/TCC/model.py [email protected]:$HOME
- AuthorPosts
- You must be logged in to reply to this topic.