Forum Discussion

JN's avatar
JN
Icon for Nimbostratus rankNimbostratus
Sep 23, 2014

scp option to send password rather than key pair

I'm trying to scp a file from my ltm to solarwinds scp server (free one right now). It appears that solarwinds does not allow the key pair exchange as would be normal operation. So I'm curious if there is a way to pass the scp line the password. I'm doing this in a script so manual input is not an option. I see there is a [-F ssh_config] and [-o ssh_option] options, but i'm not able to find out what info is accepted here.

 

Thanks!

 

3 Replies

  • scp will not allow you to specify the password on the command line. Most implementations I have seen to do this rely on expect, which is not loaded on BigIP.

     

  • no. Both use the ssh protocol, which by design does not allow password via cli.