Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-07-2005, 05:51 PM   #1
RedShoe
赤い靴 call me 202-456-1111
 
RedShoe's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
SSH question... (help please)

What's the command line for downloading a tar file from my server to my HD?
Thanks.
__________________

SPECIALTY COSTUMES • PROPS • FX
Superheroes • Monsters • Robots
PM for details


For any manufacturing needs. Adult or otherwise.

aka BonsHigh on Insta
Bonsai weed plants


RedShoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 05:52 PM   #2
Trafficbrokercom
Confirmed User
 
Join Date: Dec 2002
Posts: 542
Quote:
Originally Posted by RedShoe
What's the command line for downloading a tar file from my server to my HD?
Thanks.
cd to the ssh directory and type

scp [email protected]:/path/file.tar .
Trafficbrokercom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 05:54 PM   #3
Jon2
So Fucking Banned
 
Join Date: Aug 2001
Posts: 2,875
You can't download a file to your local pc using SSH...

Use SSH to move the file to a web directory on your box and download it via IE

Jon
Jon2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 05:55 PM   #4
comeplay
Confirmed User
 
comeplay's Avatar
 
Join Date: Nov 2004
Location: Greater Washington DC
Posts: 1,435
wget http://domain.com/file.tar
__________________
Top virtual hosts for under 10$? www.hostmylife.com | icq 50663030
comeplay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 05:58 PM   #5
Jon2
So Fucking Banned
 
Join Date: Aug 2001
Posts: 2,875
Does anyone actually fully read a thread?

Jon
Jon2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 05:58 PM   #6
JulianSosa
Confirmed User
 
Join Date: Aug 2003
Posts: 3,042
Just use ftp if you are trying to download to a local pc
JulianSosa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:01 PM   #7
Trafficbrokercom
Confirmed User
 
Join Date: Dec 2002
Posts: 542
Quote:
Originally Posted by Jon
You can't download a file to your local pc using SSH...
for sure not with ssh but with the scp command that comes with ssh.
Trafficbrokercom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:03 PM   #8
RedShoe
赤い靴 call me 202-456-1111
 
RedShoe's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
Quote:
Originally Posted by JulianSosa
Just use ftp if you are trying to download to a local pc

FTP won't work. He can't see the home directory where a tar file backup is.
__________________

SPECIALTY COSTUMES • PROPS • FX
Superheroes • Monsters • Robots
PM for details


For any manufacturing needs. Adult or otherwise.

aka BonsHigh on Insta
Bonsai weed plants


RedShoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:04 PM   #9
RedShoe
赤い靴 call me 202-456-1111
 
RedShoe's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
Quote:
Originally Posted by Trafficbrokercom
for sure not with ssh but with the scp command that comes with ssh.
He's using Secure CRT.
__________________

SPECIALTY COSTUMES • PROPS • FX
Superheroes • Monsters • Robots
PM for details


For any manufacturing needs. Adult or otherwise.

aka BonsHigh on Insta
Bonsai weed plants


RedShoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:05 PM   #10
joechip
Registered User
 
Join Date: Apr 2003
Posts: 27
Quote:
Originally Posted by Jon
You can't download a file to your local pc using SSH...

Use SSH to move the file to a web directory on your box and download it via IE

Jon
That's news to me. I upload and download stuff from my unix servers to my windows PCs with WinSCP or scp under cygwin:

C:\Documents and Settings\Administrator>uname -a
CYGWIN_NT-5.1 cpaq 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin

C:\Documents and Settings\Administrator>scp -v
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
joechip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:05 PM   #11
Mr.Fiction
Confirmed User
 
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
Quote:
Originally Posted by RedShoe
FTP won't work. He can't see the home directory where a tar file backup is.
Move the file to somewhere he can see it?
__________________
Don't be lazy, protect free speech: ACLU | Free Speech Coalition | EFF | IMPA
Mr.Fiction is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:09 PM   #12
Workshop_Willy
Confirmed User
 
Join Date: Oct 2004
Location: Southern California
Posts: 452
Quote:
Originally Posted by JulianSosa
Just use ftp if you are trying to download to a local pc

What Son-of-Sammy said.
Workshop_Willy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 06:42 PM   #13
JulianSosa
Confirmed User
 
Join Date: Aug 2003
Posts: 3,042
Quote:
Originally Posted by RedShoe
FTP won't work. He can't see the home directory where a tar file backup is.
mv file.name full/path/where/hecan/see/in/ftp/file.name
Then download with ftp

Last edited by JulianSosa; 04-07-2005 at 06:43 PM..
JulianSosa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 07:38 PM   #14
prime
Confirmed User
 
Join Date: Feb 2005
Location: Manila
Posts: 400
option 1. wget http://domain.com/path/tothefile/tar.gz
move the tar file to the htdocs folder

option 2. scp
scp [email protected]:/path/tothefile/tar.gz

or give me the login info and ill do it - FREE ;)
__________________

| offshore solutions | manual labor | staff leasing | and more!
Dedicated -Motivated-Managed Employees
icq.: 309570461 live chat
prime is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 08:02 PM   #15
willow
Confirmed User
 
Join Date: Dec 2001
Location: NY, NY, USA
Posts: 131
Quote:
Originally Posted by RedShoe
He's using Secure CRT.
Which is a product from www.vandyke.com. Go there and download Secure FX (trial available) which allows you to do secure copying via ssh (aka scp) on a Windows box with almost no hassle.
willow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 08:31 PM   #16
BadBrad
Confirmed User
 
Join Date: Feb 2004
Location: Seattle
Posts: 618
Another trick is if your SSH client has Z-Modem transfer built in like TeraTerm with SSH does and your Linux distro (RedHat, SuSe) has rz/sz installed you can do a "sz <filename>" and start a Z-Modem file transfer. Works really good on smaller files. Anything bigger than 10Mb tends to have problems.
__________________
Your sig chose me!
BadBrad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 09:34 PM   #17
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,677
People here like to complicate their life

Get a proper SSH :F-Secure SSh - client

With it comes :

F-Secure SSH FILE transfer ( a tunnel justlike an FTP but up to the root ).
Can download, chmod, etc....
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 11:13 PM   #18
netpimp
Registered User
 
netpimp's Avatar
 
Join Date: Jan 2005
Location: Phoenix, AZ
Posts: 66
Go to google, search for "putty", grab a copy of pscp.
pscp will save you the hassle of having to install all of cygwin in order to just use scp.

pscp/scp syntax:

scp user@host:file path/to/where/you/want/it

for instance:

scp [email protected]:somedir/myfile.tar C:\

sftp is also an option if you have sftp-server installed (is common nowadays.)
SecureFX from vandyke would take care of that.

and finally, root@host won't work unless you have (at least in OpenSSH) PermitRootLogin set to 'yes'..

hit me up on an IM if you need more help.
-netpimp
netpimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.