New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

scp and gv in terminal


Post Reply New Thread Subscribe

 
Thread Tools
chinomathboy

 
Member Since: Sep 12, 2010
Posts: 2
chinomathboy is on a distinguished road

chinomathboy is offline
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
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,637
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
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
Personal Twitter
QUOTE Thanks
chinomathboy

 
Member Since: Sep 12, 2010
Posts: 2
chinomathboy is on a distinguished road

chinomathboy is offline
Great. -X works! Thanks a bunch... Now I can really start on my research, yay!
QUOTE Thanks

Post Reply New Thread Subscribe


« Buying Windows 7 | safe to use Paretologic pc health advisor?? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 04:13 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?