Forum Discussion
AUTOMATIC F5 BACKUP TO SFTP SERVER
Hi Guys,
I just deployed an iapp for automated backup and sending to a SFTP server.
The issue is that when i generate a private key on the F5 cLI and input it into the column for it on the iapp,
when i schedule a backup run, it doesnt work.
i check the logs for backup on the CLI and i see that permission is denied for the F5 to the SFTP server. What am i doing wrong. This is urgent please.
- cjunior
Nacreous
Hi,
Usually this kind of error is because you don't trust the key on sftp server.
Did you sent the pub key to your authorized_keys on sftp server?
It's just a little shot.
Regards.
- Oreoluwa
Altocumulus
Do you mean after generating the private key on the F5 then input the key on the authorized_keys directory on the SFTP server?
- cjunior
Nacreous
Yes, but the public key, not private that you fill on iApp.
Are you generanting a RSA key pair, right?
Regards.
- Oreoluwa
Altocumulus
Yes i ran the command to send the public key to the authorized_keys on the sftp server.
But when i run that command, i get the error: exec request failed on channel 0.
- cjunior
Nacreous
Hello,
What do you see when running on command line to debug?
Did you tried this before?
ex;
sftp -vvv -i <id_rsa_file> <username>@<destination>
Kind regards
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