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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accessing a Git repository with SSH without using keys

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

1 answer

0 votes
Ana Retamal Atlassian Team Jul 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

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
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

5,011 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you