클라우드 서버 도움말

Create an SSH Key (Mac OS X)

You can log in to your servers using SSH keys by creating them on your local machine, and then providing us your public key. However, there are a few complexities with SSH keys:

  • You must create the SSH key before creating the server; you cannot simply add SSH keys to existing servers.
  • If enabled, you can only log in to servers via SSH using computers that have your SSH keys.

Note: SSH keys work off a public/private key pair. You don't need to understand the technology to make it work, but Caltech has an explanation here.

Create an SSH key pair

  1. Launch Terminal.
  2. Generate an RSA key pair:
    ssh-keygen
  3. Do not enter a value; Terminal will create the key in id_rsa by default.

    Terminal displays where it will save the key pair file. It's important to take note of that to ensure you can find the file for the next step.
  4. (Recommended) Enter a passphrase for the key pair. You will need to enter this every time you log in to your server via SSH, which further protects your server against compromise.

    Enter the passphrase again.

Locate and open your public key

  1. In Finder, click Go.
  2. Click Go to Folder.
  3. Enter the name of the directory where Terminal created your public key.
  4. Open id_rsa.pub.
  5. Copy the entire contents of the public key file.

Add your public key to Cloud Servers

  1. In Cloud Servers, click SSH keys.
  2. Click Create key.
  3. Enter a Name, and then paste your public key in the Key field.
  4. Click OK.

Next step


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.