Closed Thread
Results 1 to 7 of 7

Thread: Scp? Sftp?

  1. #1
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0

    Scp? Sftp?

    When you are SSH'd into a machine can't you transfer a file using SCP or SFTP? I've wondered how this is done for a long time but I never looked it up.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    sftp is secure FTP and requires its own client but it does run over SSH. try "sftp" in your console.

    The SCP command can be executed while you are in a shell or from your command line to transfer a file to another SSH server. Here is the command:

    Code:
    $ scp examplefile yourusername@yourserver:/path/

  4. #3
    LissaValerian is offline Learning Programmer
    Join Date
    Jun 2008
    Posts
    54
    Rep Power
    0
    man scp

    ;-)

    from remote to local:

    scp user@host:/path/to/file .

    from local to remote:

    scp filename user@host:/filepath/

  5. #4
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    That is true, I should of used "man" to start with. I always forget about it, lol. Thanks though!

  6. #5
    LissaValerian is offline Learning Programmer
    Join Date
    Jun 2008
    Posts
    54
    Rep Power
    0
    Sorry, I was kinda messing with you a bit. Everyone forgets man for some reason.

    "man" is your friend. :-)

    lol. I use man a LOT. Mainly because I don't remember syntax very well at all.

    ~Lissa Valerian

  7. #6
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    I'm not sure why I always forget about it..

  8. #7
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    Why is sftp more secure? Aren't they about the same (both using Secure Shell technology)?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts