Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,414,384
Community Members
 
Community Events
170
Community Groups

SSH Host key location for built-in ssh server (Apache Mina)

Edited

Hello,

Where do I find the SSH host keys that are used by the embedded Apache Mina sshd server? For proper security, I need an out-of-band way to verify the keys -- either by executing some command on the machine hosting bitbucket or within the Bitbucket WebUI.

Thanks,
--Joe

1 comment

Okay, I think I figured it out! Here's what I did:

  1. Find where on the server the host key is located. Go to Administration (gear icon) > Support > Troubleshooting and support tools page. Select the System Information tab, and for look the bitbucket.shared.home variable under the Java Runtime Environment heading.
  2. Then, on the server, run the following command, where ${BB_SHARED} is the variable from step 1:
$ openssl rsa -in ${BB_SHARED}/config/ssh-server-keys.pem -RSAPublicKey_out \
    | ssh-keygen -i -m PEM -f /dev/stdin

 

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events