ssh via terminal - what's my Desktop address?

Discussion in 'macOS' started by technekai, Mar 27, 2008.

  1. technekai macrumors newbie

    Joined:
    Feb 28, 2008
    #1
    i am trying to use terminal for ssh.

    i'm in a directory on my website using terminal, but how do i download something?

    cp mygif.gif /Users/MyUserName/Desktop

    doesn't seem to work. nor does

    curl mygif.gif /Users/MyUserName/Desktop

    nor

    wget mygif.gif /Users/MyUserName/Desktop


    what's the correct command? and while we're at it, can i ask how to download to a new folder?

    like cp mygif.gif /Users/MyUserName/Desktop & mkdir MyNewFolder

    ??
    thanks for your help,
    aya.
     
  2. yippy macrumors 68020

    yippy

    Joined:
    Mar 14, 2004
    Location:
    Chicago, IL
    #2
    If you want to transfer files between a server and local directories you need to connect to it using the sftp command, not the ssh command and then use "get" to download the files.
     
  3. SC68Cal macrumors 68000

    Joined:
    Feb 23, 2006

Share This Page