![]() |
SSH question... (help please)
What's the command line for downloading a tar file from my server to my HD?
Thanks. |
Quote:
scp [email protected]:/path/file.tar . |
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 |
|
Does anyone actually fully read a thread?
Jon |
Just use ftp if you are trying to download to a local pc
|
Quote:
|
Quote:
FTP won't work. He can't see the home directory where a tar file backup is. |
Quote:
|
Quote:
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 |
Quote:
|
Quote:
What Son-of-Sammy said. |
Quote:
Then download with ftp |
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 ;) |
Quote:
|
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.
|
People here like to complicate their life :1orglaugh
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.... |
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 |
All times are GMT -7. The time now is 09:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123