Thursday 24 May 2012

Pscp to do an scp over terminal without password prompt between 2 ubuntu machines

// pscp for copying files across network by specifying password in command line
pscp comes along with putty tools
if there is a problem do apt-cache search
The problem was with nokuntusp package hence that had to be removed first with the below error :

The package nokuntusp needs to be reinstalled, but I can't find an archive for it.
  791  sudo dpkg --remove --force-remove-reinstreq nokuntusp
  792  sudo apt-get install pscp
  793  sudo apt-cache search pscp
  794  sudo apt-get install putty-tools
  
 
 copying files to get them installed
 pscp -r -pw 'dev' dev@10.10.0.1:/tmp/automation/android/* /destinationfolder

No comments:

Post a Comment