Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I would like to copy files from my local machine to my remote web site using ssh once I have established an ssh connection what is the command structure?...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    1

    ssh help

    Hello, I would like to copy files from my local machine to my remote web site using ssh

    once I have established an ssh connection what is the command structure?

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    For transferring files, the command you need is scp (not ssh). Syntax is like so:
    Code:
    scp localfile user@remotehost:/path
    You can also copy files from the remote machine to your local machine using the reverse:
    Code:
    scp user@remotehost:/path/file /localpath/filename
    Some GUI file managers will also let you use the fish protocol, which makes things much easier. Just type 'fish://user@remotehost' in the address field. You'll get a password prompt, and then your file manager will show you the remote filesystem (starting in user's home directory, unless you specify another one). Then you can drag-and-drop files from the desktop or another file manager window.
    Stand up and be counted as a Linux user!

Posting Permissions

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