snapshot(8)
394 XSCF Reference Manual • Last Revised January 2007
EXAMPLE 8 Downloading Public Key and Answering No to All Prompts
EXAMPLE 9 Downloading Public Key Attempted by Unauthorized User
EXAMPLE 10 Downloading to External Media Device
EXAMPLE 11 Limiting Data Collection for Certain Logs to a Date Range
EXIT STATUS The following exit values are returned:
SEE ALSO setarchiving(8), showarchiving(8), showlogs(8)
XSCF> snapshot -v -t jill@earth.east:/home/jill/logs/x -k download
-n
Downloading Public Key from ‘earth.east’...
Public Key: ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAwVFiSQNVBFhTTzq0AX5iQqCkkJjd6ezWkVGtmMkJJzzM
jYK0sBlhn6dGEIiHdBSzO8QLAXb8N4Kq8JDOBpLSN4yokUPTcZQNxJaYA0W058Qgxbn
Key fingerprint in md5: c9:e0:bc+b2:1a:80:29:24:13:d9:f1:13:f5:5c:2c:0f
Accept this public key (yes/no)? no
Public Key declined
Error opening SSH target
Exiting with error 1
XSCF> snapshot -t fakeuser@fakehost.com:/fakedir -p fake-password
Downloading Public Key from ’fakehost.com’...
Error downoading key for host ’fakehost.com’
Error opening SSH target
Exiting with error 1
XSCF> snapshot -d usb0 -r
Testing writability of USB device....SUCCESS
About to remove all files from device ‘usb0’. Continue? [y|n] : y
Collecting data into /media/usb_msd/jupiter_10.1.1.1_2006-04-17T22-41-
51.zip
Data collection complete.
XSCF> snapshot -d usb0 -S 2007-01-01,01:00:00 -E 2007-01-31_14-
00-00
Testing writability of USB device....SUCCESS
Collecting data into /media/usb_msd/jupiter_10.1.1.1_2006-04-17T22-41-
51.zip
Data collection complete.
0 Successful completion.
>0 An error occurred.