[olug] sftp/scp
Craig Wolf
CJWolf at mpsomaha.org
Thu Aug 25 19:37:15 UTC 2005
Yep, I knew that as soon as I sent it to the list, I would figure it
out... Thanx!!
Craig Wolf
Linux Web Server Support
Desktop/Network Specialist
402-894-6283
>>> hostetlerm at gmail.com 8/25/2005 >>>
On 8/25/05, Craig Wolf <CJWolf at mpsomaha.org> wrote:
> Ok, not having a lot of luck here. I am writing a script to login to
a
> server over ssh and copy a folder and all the files and folders
within
> it up to that server. I am only able to get the files, not the
folders
> and files within them. I have tried mput and put...How do I get them
to
> grab everything within that folder??
>
First, make sure you have your private/public keys working so you
don't have to enter the username/password each time. See:
http://tinyurl.com/4a6cr
(or google for other tutorials)
After that, then this is easy:
scp -r <local folder> hostname:/path/to/remote/folder
--
Mike Hostetler
http://www.binary.net/thehaas
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list