Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Bamboo

  1. 인증키 생성

    # ssh-key 생성 및 디렉토리 이동
    $ ssh-keygen
    $ cd ~/.ssh
    ​
    # 개인키 -> Bamboo에 등록
    $ cat id_rsa
    -----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEA0wMGEvgkwH0fybN8pDg1KYq7o5ACwSaSfk+lLbuU741ZDxhr
    amL+aTd5buijepHHkJJH88yeFJ35CNjk5ZyScPtTO6sjHhMp3guUwKjrYTEkIgqF
    MshFIAEaVKU5vRLo5Yuaj+EveTzkP5j3TBTWW/zqTEWW0TOxoD46h3BvsstcXck9
    6gwk0BOhlZFd5ztGPs7JykVY9gcZEA4fPU+uhQwl57IQCyNsXhG8C+Vz+6zdwtto
    tKtc379nBwdvkT2NQBZEzsu1Njvuisf/8yanad8ScPhNouRGhjz2IaC1CdUIlTci
    4YZp+cd+kzgzact0uGZ1ALNjqBhFyHw4S9mG1wIDAQABAoIBAG9pmkxrvqPvrNgH
    r9jZYKB1gstCn2GyZwjQLqut7l5paEuDHjwG1sNhKfm4VZDC5fbcdacxM4o5OqNE
    Od9OQzfqSzEnFByuC54UyU7MIbOoiaZ7nYaJnY3fZzKoJotBL7z7b/ll8XX3A6Dc
    uD3whpn9OQxadd4xiCjOkoKuiBuDNBIjw94M40bByMni1Uw6Z5ZHGuv50/U4Ypr4
    wBAQ2ZE5w1XCF7PE4gG75R4SkG9okn98XEy/8Sh12eJ53XY7UwkjNNVYJcQWelFZ
    mrGS9588LJCFZWziRVMjWjFo3OtLnVAxdD20z2TKX5Cw3t3UGBqAD9EEE9VlLeOI
    nciUzxkCgYEA/JBlcPJrbidbj6HUOX599LUKTqIVRDP4dZJ7w/lUIQb3Cg1G8H1C
    uldl6tmTVt8NpJQlylx7iKapU0fMk7jV8mOAFfNMF6zoed3qP1HiMdKQVoCXBZCT
    8c1YKhRUOvbmTp7j4bm8OPe8llvPmN4c7sBT267gaIuyo/TC5H0KlLUCgYEA1eHp
    5oHbjIsxPcJhfe8wc2E/9KKGvn6gnwqjU+X3h+JVQwmhb/0NtxMQWjnvlKjY8eDO
    szTjYlE5/EcIfgVGwUMnTm+vRDGps3UqbVb0edYLuufOR5atYk1kkajh7O4MbPpZ
    /5st38ONPRSruxmWQfmjzROuFlFplKcpK8odENsCgYEAxGU8nLHF3Gh6iJxcvUCh
    jXJiS3c6dki7giGgYGo3g185JvXgHg4pn2Fq/U6nhjv5Deut30g/P6nprbr9WDm5
    FL1O0sLYfuiT9oAcMZTpAbktSDbCOS+N+8+kKUSZoyhvOt/PcK3PsbTjT0Chk8vU
    T8v66a95DZLkHR6tlqOtYKkCgYEAoGp6xjprcrQLUKjz+kJl8oPkNhWYPlQ3IFIY
    QhrfVvl4vXkBrj78BG21/BYsDTG+1VupbFukl98YQJD+W5aVhOpbFsdJizo8b67X
    DX8EikTyM1MdMjBfBrXJUj56hPveMfZrffzjoUrIKiHQ09nTCtSz+GJkVbTmHWpq
    xL8oobUCgYAnxtkSv8BlPiHRDTOV0GUHlt+Yi9YTpkaZHwIt/9jEGfk92S+mO4BV
    uW8xXiLocp7DdrEdZ+jCrXjl1PE9vo7MtrDQuF/wNsxoN0+4nz/5G5hvYgI6gWBa
    8/V9Xt34gA/DQlTEfXKmZrL0HKCNsvF5XDyvG5KKlTtQ6vLlShnckw==
    -----END RSA PRIVATE KEY-----
    ​
    ​
    # 공개키 -> Bitbuckit에 등록
    $ cat id_rsa.pub
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTAwYS+CTAfR/Js3ykODUpirujkALBJpJ+T6Utu5TvjVkPGGtqYv5pN3lu6KN6kceQkkfzzJ4UnfkI2OTlnJJw+1M7qyMeEyneC5TAqOthMSQiCoUyyEUgARpUpTm9Eujli5qP4S95POQ/mPdMFNZb/OpMRZbRM7GgPjqHcG+yy1xdyT3qDCTQE6GVkV3nO0Y+zsnKRVj2BxkQDh89T66FDCXnshALI2xeEbwL5XP7rN3C22i0q1zfv2cHB2+RPY1AFkTOy7U2O+6Kx//zJqdp3xJw+E2i5EaGPPYhoLUJ1QiVNyLhhmn5x36TODNpy3S4ZnUAs2OoGEXIfDhL2YbX agent@study.localdomain
    ​

  2. Bamboo Linked Repository 설정

    1. 관리자 로그인

    2. Linked repositories 진입

    3. Add repository 클릭

    4. Git 선택

    5. Repository 설정 후, Save Repository 클릭

      • Repository URL : Repository clone URL을 복사하여 붙여넣습니다.

      • Authentication type : SSH private key를 선택하여 Use custom SSH key을 선택합니다.

        • SSH Key : Bamboo Server에서 생성한 비밀키를 가져와서 업로드합니다.

Bitbucket

  1. 사용자 로그인 > Manage accout > SSH keys 진입

  2. Add key 버튼 클릭하여 bamboo server에서 생성한 공개키를 복사하여 입력

결과 확인

  1. Bamboo Linked Repositories에서 방금 생성한 Linked Repository의 Test Connection 수행

    • 연결이 성공적으로 진행된 것을 확인할 수 있습니다.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.