Accessing a Git repository with SSH without using keys

karel July 29, 2019

How can I access a repo via SSH with a password and without using keys?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 30, 2019

Hi Karel, welcome to the Community.

To access a repo via SSH you need to set SSH keys. Using a separate password wouldn't be possible and it would defeat the purpose of SSH:

When you set up SSH, you create a key pair that contains a private key (saved to your local computer) and a public key (uploaded to Bitbucket). Bitbucket uses the key pair to authenticate anything the associated account can access. This two-way mechanism prevents man-in-the-middle attacks.

For more information you can read Set up an SSH key.

If you'd prefer to enter your password with every interaction, is there a reason why you wouldn't use HTTPS? You can find a comparison at SSH keys.

Let us know,

Ana

karel July 30, 2019

Hi Ana,

 

I understand the reason for SSH and keys. However, I spent a whole day on Sunday fighting my Synology NAS box with using keys. For some reason, it is rejecting the private Key. I'm frustrated with this mess and would just like to update my repo. That's why I wanted to use it as a backup my username and password. I was using Putty to generate the keys.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events