


You can now list the contents of ~/.ssh to view the key files.

Strictly speaking, the password can be omitted if you feel secure that your local system will not be compromised. This is more secure, but adds an additional password prompt whenever you want to log in to your Webdock server. You should enter and re-enter a passphrase when prompted, if you want to password protect your key. You should just accept the default location, unless you have a reason to change it. The command prompts you for a file to save the key in:Įnter file in which to save the key (/Users/yourusername/.ssh/id_rsa): <- Press the Enter or Return key Setting up SSH keys is easiest on Mac and Linux, and is practically identical. By default, the system adds keys to the /Users//.ssh directory on MacOS and /home//.ssh on Linux.įrom the terminal, enter ssh-keygen at the command line. This article just deals with how you can create an appropriate SSH key on your local machine for use with Webdock.
#Viewing application logs on mac ssh server how to#
Click here to read our article on how to use your Public Key with Webdock. The private key is stored on your local machine, and should not be shared, while the public key is what you add to your Webdock account, and then assign to your shell users on your servers. When you want to gain SSH acccess to a server, you need to generate a public/private keypair on your local computer.
