In production, change the username and the password to secure ones. The username can be changed in database.yml file, the password can be changes using command line.
Public key authentication is also supported.
Type help in the command line to receive information on commands.
For a detailed description of a command, you can type that command with the -h key.