5.23.4 LOGIN

The LOGIN command is used to login to the remote SFTP server.

Syntax:

Command

Keyword

Value

Developer notes

LOGIN

USER

value

Required. User profile.

PASSWORD

value

Optional. User password.

KEY

value

Optional. Public key authentication.
The specified value is the PEM encoded SSH private key file. The private key file should have a .pem file extension. The associated PEM encoded SECSH or SSH public key file should have a .pub file extension.
For example: remotecompany.pem and remotecompany.pub.

KEYPASSWORD

value

Optional. Password to open private key file.

 

Example

LOGIN USER(user) PASSWORD(password)