bbcp is becoming a hot contender to rsync. Unfortunately, it’s not available by default in Ubuntu 12.04. The steps below will get you going with it. Note that bbcp needs to be installed at both ends of a transfer.
1 2 3 4 5 6 7 |
apt-get update apt-get -y install build-essential zlib1g-dev libssl-dev wget http://www.slac.stanford.edu/~abh/bbcp/bbcp.tgz tar xvfz bbcp.tgz cd bbcp/src make mv ../bin/*/bbcp /usr/local/bin/ |
The second line should be:
apt-get -y install build-essential zlib1g-dev libssl-dev
Thanks! I’ve just updated the post accordingly.
bbcp is running ok,but how does the target sever limit user directory?
other wise the user can login by using ssh & sftp to list evrything of the target server.
urgent….
You’d have to manage the enforcement on the target server using standard Linux techniques. For example, you could have a user with constrained privileges, or use SELinux/AppArmor to restrict what bbcp can do.