If you are trying to run an scp command and you keep getting a drop connection, then...
Secure Copy - scp - When setting up secure copy between jBoss and the target server, get the keys in place in the known_hosts file and the like, and then first connect to the target server via ssh, and then do a test ssh command. If that works, then you can continue with your testing and final rollout.
