Hiding SCP Password Using Archive Feature
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2023 07:32 AM
Hi Guys
archive
path scp://user:password@1.2.3.4/
write-memory
time-period 10080
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2023 11:21 AM
Hello,
I dont think there is a way around it. What I suggest is not send the backup to the external server right the way but store it in the flash. Then, from the remote server you stract using SCP. The cisco device will act as scp server and not client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2023 11:27 AM
Hi
Thanks for responding but I'm looking for a secure push to server solution instead of a pull from server.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2023 11:45 AM
Service password encryption <<- I think this command effect your scp config copy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 01:29 AM
Hi
This isn't correct.
Thanks
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2023 08:18 PM
archive
log config
HIDEKEYS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 01:32 AM
Hi
This isn't correct, this command hides IOS aware passwords in the saved config.
Thanks
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 10:34 PM
HI
I am facing exactly same issue with SFTP
Did you found solution for that?
Pawel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 11:35 PM
Hi, password encryption ist not possible.
But Schedule and with "write" are :
!
!
archive
log config
logging enable
hidekeys
path scp://user:pass@w.x.y.z/$h_
write-memory
!
!
kron occurrence save-config-schedule at 22:00 recurring
policy-list save-config
!
kron policy-list save-config
cli archive config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 08:45 AM
Is there any update on whether credentials can be hidden?
