> > > > > cmd ='scp'+' '+source_file+' '+user+'@'+ip+':'+desti_path > You might wanna try to login with a public/private key pair, then scp won't ask for a password.