copy recursively from source to destination
Step1) Login in source machine
Step2) fire blow command with option -r to file or folder name that you want to copy and then target or destination machine then colon: then path on the target machine where you want to copy.
scp -r helloworld.ear mymachine@machineipaddress:/usrdata/jboss405/deploy/
Step1) Login in source machine
Step2) fire blow command with option -r to file or folder name that you want to copy and then target or destination machine then colon: then path on the target machine where you want to copy.
scp -r helloworld.ear mymachine@machineipaddress:/usrdata/jboss405/deploy/