• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Archiving a Juniper Mag to an SCP server

Hi Everyone,
There are lots of articles on how to do this but I still cannot get it to work.

https://www.juniper.net/documentation/en_US/sa8.0/topics/task/operational/secure-access-system-archiving-specifying.html
http://www.juniper.net/documentation/en_US/uac5.0/topics/task/configuration/security-access-logs-archiving.html

I am making a mistake somewhere but cannot figure it out.
On my server side, I have installed Solarwinds SFTP/SCP, configured an IP address and a username/password
On the Juniper device's archiving page, I have entered the details for the SCP server -  Archive Server (ip address),Destination Directory, Username, Password and Method (SCP)

The Juniper articles say the destination directory must be "relative to the ftp root directory". What does that mean?
On my SCP server, I would like the files to be uploaded to C:\Juniper. So what should I type in as the "destination directory" (see attachment)
Magg.JPG
0
DonKwizote
Asked:
DonKwizote
  • 2
  • 2
1 Solution
 
Mark BullockQA Engineer IIICommented:
The root directory is the default directory of the Solar Winds server, in this case C:\SFTP_Root.
You can change that in Solar Winds Settings / NCM Settings.
It would probably be a bad idea to set it to C:\ because if an attacker logged in, they could write anywhere on that drive.

Try using the recommended Destination Directory: juniper/log
0
 
DonKwizoteAuthor Commented:
Thanks Mark.
If I set my destination directory to juniper/log in the Juniper Mag, where would I find this directory on my SCP server?
Wouldn't it be on the C:\ drive?

Or am I missing something?
0
 
Mark BullockQA Engineer IIICommented:
It would be C:\SFTP_Root\juniper\log, the default directory appended with your log directory.
0
 
DonKwizoteAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now