ssh Terminal Help

Posted:
in Genius Bar edited January 2014
what commands do I use to:



copy a file from my computer to the server

copy a file from the server to my computer



Thank you.

Comments

  • Reply 1 of 5
    costiquecostique Posts: 1,084member
    I suggest man scp (secure copy via ssh). Or did I misunderstand your question?
  • Reply 2 of 5
    What host is my local hard drive?
  • Reply 3 of 5
    You might prefer fugu, which is a free graphical client for sftp (secure ftp).



    If your trying to use the command line for whatever reason, then
    Code:


    man sftp



  • Reply 4 of 5
    1337_5l4xx0r1337_5l4xx0r Posts: 1,558member
    well, for example, if 192.169.1.2 is your IP and the remote machine is 192.168.1.5,



    scp 192.168.1.5:/home/snarfblatt/.bashrc ./



    would copy the remote file .bashrc to the current working directory on the local machine.



    scp ./.bashrc 192.168.1.5:/home/snarfblatt/



    would do the reverse
Sign In or Register to comment.