logging for sessions

Advertisement

gst
Guest

logging for sessions

hello,
we use winscp for our remote infrastructure.
german law requires to save logfiles, so that customerscan ask us who has done what.
we need a sessionlog whitch the user cant switch of.
we have thousends of remote devices and the connectivity cames from a database, so we have to start winscp from commandline.
please create two new parateters:
the first one for the protokoll ( e.g /ftp or /sftp )
the second for the sessionlog ( e.g. /sesslog=filename)
thank you

Reply with quote

Advertisement

Teka
Guest

Try this command, under command prompt:
Winscp /?    

You will see :
Usage:
winscp session
winscp [(scp|sftp|ftp)://][user[:password]@]host[:port][/path/[file]]
winscp [session] [/console] [/script=file] [/command command1 command2 ...]
winscp [session] /synchronize [local_dir] [remote_dir] [/defaults]
winscp [session] /keepuptodate [local_dir] [remote_dir] [/defaults]
winscp /ini=<inifile> /log=<logfile> /privatekey=<keyfile>
winscp /update
winscp /help

 session  - Name of stored session or session information specified directly.
 /console - Console (text) mode. Default mode, when invoked using winscp.com.
 /script  - Executes batch script file. If the script does not end with 'exit'
            command, normal interactive mode follows.
 /command - Execute list of script commands.
 /synchronize  - Synchronizes content of two directories.
 /keepuptodate - Starts Keep remote directory up to date function.
 /defaults     - Starts operation without showing options dialog.
 /ini     - Path to configuration INI-file.
 /log     - Turns on logging to file.
 /privatekey - Default private key file for authentication.
 /update  - Queries application homepage for updates.
 /help    - Prints this usage.    

Reply with quote

gst
Guest

Re: logging for sessions

gst wrote:

hello,
we use winscp for our remote infrastructure.
german law requires to save logfiles, so that customerscan ask us who has done what.
we need a sessionlog whitch the user cant switch of.
we have thousends of remote devices and the connectivity cames from a database, so we have to start winscp from commandline.
please create two new parateters:
the first one for the protokoll ( e.g /ftp or /sftp )
the second for the sessionlog ( e.g. /sesslog=filename)
thank you
in this sessenlog has only the actions to be written whitch was made on the remote server.

Reply with quote

Advertisement

You can post new topics in this forum