Results 1 to 3 of 3
  1. #1
    scp and gv in terminal

    Member Since
    Sep 12, 2010
    Posts
    2
    scp and gv in terminal
    Hello,

    I am not sure how to use scp command to copy a file from a remotely connected server to my desktop. I am using ssh to connect into school, and I can't seem to get the command to work.

    scp file.txt name@ipaddress:.


    I am not sure why gv is not working on my computer. gv is part of the school system, so I assume when I connect to school via ssh. gv should work. It works on my partner's computer(window), but it doesn't on mine. I get an error that it cannot open the display. Any idea?


    Thanks!


    CK

  2. #2
    scp and gv in terminal
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Take a look here for some instructions on using scp.

    I assume you're talking about gv as in GhostView. If so, you may need to enable X forwarding when ssh'ing into the machine. To do that, simply include the -X switch when ssh'ing into the machine. For example:
    Code:
    ssh -X <exampleserver>
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    scp and gv in terminal

    Member Since
    Sep 12, 2010
    Posts
    2
    Great. -X works! Thanks a bunch... Now I can really start on my research, yay!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SCP :how to monitor connections?
    By prostiiinet in forum OS X - Operating System
    Replies: 4
    Last Post: 03-04-2010, 01:39 PM
  2. scp freeze with a wifi connexion
    By vpmm92 in forum OS X - Apps and Games
    Replies: 0
    Last Post: 01-31-2009, 07:41 AM
  3. SCP, upload files fails with Airport.
    By detzX in forum Internet, Networking, and Wireless
    Replies: 0
    Last Post: 06-08-2008, 05:39 PM
  4. SCP command
    By wiggst3r in forum Switcher Hangout
    Replies: 1
    Last Post: 05-02-2008, 09:01 AM
  5. scp error: isconnecting: Corrupted MAC on input
    By salbo in forum OS X - Operating System
    Replies: 0
    Last Post: 01-26-2008, 07:34 AM

Posting Permissions

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