I want to be able to use scp from the firewall to transfer a config file to a remote server without entering a password. So I need to store the remote user's public ssh key in the equivalent of an authorized_keys file on the firewall. Is this possible?
What I'm trying to do is schedule an automatic pull of the running-config.xml down to a server. I want to do this like this:
ssh 10.2.1.254 scp export configuration to email@example.com:. from running-config.xml
10.2.1.254 is my firewall. I have the key set up in the other direction so the ssh command goes through without a password, but the reverse direction (the scp command) doesn't work without a password.
Solved! Go to Solution.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!