[olug] sftp/scp
Craig Wolf
cjwolf at mpsomaha.org
Fri Aug 26 02:18:53 UTC 2005
Would they need to input a password or could I automate it? Pardon my
ignorance on rsync...never used it.
Craig Wolf
Linux Web Server Support
Desktop/Network Specialist
402-894-6283
>>> unfies at gmail.com 08/25/05 5:22 PM >>>
Instead of scp, try rsync. You can set it up to use ssh rather than
standard portmapper stuff, and it'll handle directories or symlinks
and stuff just fine.
-Will
On 8/25/05, Craig Wolf <CJWolf at mpsomaha.org> wrote:
> 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
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list