Remote-Login - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Guidelines
remote-directory is used only in the following situations:
v The log type is file.
v The archive mode is upload.
v The upload mode is scp, ftp, or sftp.
To denote an absolute directory from the root directory, specify a single forward
slash character or equivalent encoded character (%2F) before the fully-qualified file
name (for SCP or SFTP, specify /file-path; for FTP, specify %2Ffile-path). The
path in the URL resolves to //file-path for SCP or SFTP and /%2Ffile-path for
FTP.
To denote a directory that is relative to the user's home directory, do not specify a
forward slash character or equivalent encoded character before the fully-qualified
file name (for example, specify file-path). The path in the URL resolves to
/file-path.
Related Commands
archive-mode, remote-address, type, upload-mode
Examples
v Specifies the remote directory for an uploaded log file that is relative to the
v Specifies the remote directory for an uploaded log file that is absolute to the root

remote-login

Specifies the user name to use when uploading a log file to a remote server.
Syntax
remote-login username [password]
Parameters
username
password
400
Command Reference
user's home directory.
# type file
# archive-mode upload
# upload-method sftp
# remote-address 172.16.100.1:2121
# remote-directory logs/
#
directory.
# type file
# archive-mode upload
# upload-method ftp
# remote-address 172.16.300.254:2123
# remote-directory %2Flogs/
#
Specifies the user name to access a recipient of uploaded logs.
Specifies the password for the user name account.

Advertisement

Table of Contents
loading

Table of Contents