Forum Discussion
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
- mimlo_61970
Cumulonimbus
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.
- JN
Nimbostratus
can I pass it with sftp?
- mimlo_61970
Cumulonimbus
no. Both use the ssh protocol, which by design does not allow password via cli.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com