cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
394
Views
0
Helpful
2
Replies

How do you copy a file in IPS 5.0 sevice root mode? sensorapp

dclewis
Level 1
Level 1

I need to copy a new sensorapp file to the root usr directory and I don't know how to get the file from my laptop to the destination.

2 Replies 2

jamesand
Cisco Employee
Cisco Employee

Here are some options:

1) Copy your file from 1.2.3.4 SSH server to the sensor svc acct using SCP. From sensor svc acct prompt, run:

scp user@1.2.3.4:/home/user/remote_file local_file

2) Use an scp client on your PC (there are free clients that you can download) to copy the file to the /home/service on the sensor. From PC cmd prompt, run:

pscp file service@1.2.3.4:file

3) Use ftpget utility from sensor to get file from 1.2.3.4 ftp server. From sensor svc acct prompt, run:

ftpget -u -p 1.2.3.4 local_file /home/user/remote_file

4) Use curl utility from sensor to get file from 1.2.3.4 ftp server. From sensor svc acct prompt, run:

curl --data-binary --get --output local_file ftp://user@1.2.3.4/incoming/remote_file

Thank you! I downloaded winscp and that did the trick.

Review Cisco Networking for a $25 gift card