Need Help? Lets get in touch with our Support Team

0
No products in the cart.
  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9669
    caue-evangelista
    Participant

    I 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!!

    #9670
    blankuser14262883
    Participant

    The 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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.