Forum Discussion

iabrent_235552's avatar
iabrent_235552
Icon for Nimbostratus rankNimbostratus
Nov 24, 2015

SFTP Scripting

Using the BIG-IP client I'd like to script a batch file to copy several files to an SFTP server. I have seen some posts in the forum but none of them mention on where to supply a password in the statement. I have seen the below but I don't see how I can supply a password.

 

scp /path/to/localfile user@host:/path/to/dest

 

Any help is greatly appreciated.

 

  • As far as I know, scp doesn't allow non interactive passwords. You can use rsa authentication instead using key pairs.