

The rest of this procedure assumes that you've accepted the defaults. However, using a passphrase means you'll need to enter the passphrase when you use SSH, which negates the convenience of using a key. They do enhance the security of your key, in that if someone steals your computer or the key itself, they won't be able to use the key without the passphrase. It's generally safe to accept the default values for these prompts - that is, a key located at ~/.ssh/id_rsa and a blank passphrase. You'll be prompted to enter the key file location and an optional passphrase. Open your terminal application and execute the following command: This is useful for running unattended local scripts that execute commands on your server or simply for speeding up your daily workflow. SSH keys can be used to log in to the server securely without using a password.

Please refer to Changing a Shell User's Password for more information. Your SSH password is the password for the shell user that you're using to make the SSH connection. If you are using some other GUI SSH client, then consult your client documentation or its help menu for more specific instructions. Enter the password for the "myuser" shell user when prompted.Enter "myuser" as the username when prompted.If you're using a GUI SSH client, then you will need to supply your shell user's name, server, and password in the connection parameters for your client.įor example, if you are using PuTTY to log into "" as the "myuser" shell user: For example, if you wanted to use "myuser" from the previous example to read the date from your Opalstack server: ssh date You can also use SSH to run single commands instead of a full interactive shell session. In this example, the shell user name is "myuser" and the server is "": ssh your shell user's password when prompted, and you'll then be logged in to your home directory on the server. To do so, open your terminal application (usually Terminal or similar on MacOS and Linux, or Powershell on Windows 10) and execute the ssh command with your shell user's name and server. Most operating systems, including Linux, MacOS, and Windows 10, include a command-line SSH client that you can use to log in to your Opalstack server. Instructions for creating shell users are available here: Adding a Shell UserĪfter you've created your shell user, make a note of the following information: Preparation ¶īefore you can access your server with SSH, you must first create a shell user. SSH (also known as Secure Shell) is a secure method of logging in to your assigned server so that you can execute commands, manage files, and run programs directly on the server command-line.

You can use your shell users to access your server via SSH or SFTP.
