If the private key file is encrypted, the -ssh-key-pass command-line option can be used to specify the encryption password.įor example, to use a remote SSH tunnel with password authentication: The argument must be the absolute path to the private key file. The -ssh-key command-line option can be used to enable public key authentication. If no argument is provided, the user is prompted for the password. ![]() If an argument is provided, the argument is interpreted as the password. The -ssh-pass command-line option can be used to enable password authentication. MariaDB Shell supports password authentication and public key authentication for SSH tunnels: Since the traffic is forwarded to 127.0.0.1, the SSH tunnel must terminate at the database server itself. The database port is specified in the normal way using the -port command-line option. On the remote server, the traffic at the end of the tunnel is forwarded to the IP address 127.0.0.1 on the database port. If the remote server uses a non-standard SSH port, it can be specified using the -ssh-port command-line option. ![]() The client initiates the tunnel by connecting to the remote server on the standard SSH port. On the client, the tunnel uses a random ephemeral TCP port. When the -ssh-user and -ssh-host command-line options are specified, a remote SSH tunnel is created between the client and the remote host: MariaDB Shell can connect to database servers using a remote SSH tunnel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |