Thursday, June 17, 2010

Transfer file using SCP as a background process

I wanted to upload my ear to a remote UAT box before
leaving  from office.I got a way to do so from
markus.revti.com

$ scp file/to/upload username@hostname:/remote/file/path 2>&1

System will as for system password for the remote host ,
after entering the password,do CTRL+Z

which will show Stoped(1) .......

then type

[$] bg

which will run the process in background.




No comments:

Post a Comment