ssh via terminal - what's my Desktop address?

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

  1. technekai macrumors newbie

    Feb 28, 2008
    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


    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,
  2. yippy macrumors 68020


    Mar 14, 2004
    Chicago, IL
    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

    Feb 23, 2006

Share This Page