77bea0f5bfc0eb60ee9874a794a7eef489a74323
[sfa.git] / sfacomponent / copynode.sh
1 #!/bin/bash
2
3 source component_slice_config.sh
4
5 echo connecting to node: $1
6 export FILES="component.py ../util/cert.py ../util/credential.py ../util/excep.py ../util/geniserver.py ../util/sfaticket.py ../util/gid.py ../util/misc.py ../util/record.py ../util/rights.py ../util/report.py ../util/trustedroot.py ../plc/trusted_roots install"
7 echo $FILES
8 scp -i $KEY_FILE -r $FILES $USER@$1:$DEST_DIR