M
M
mr_blond972015-07-07 00:59:06
linux
mr_blond97, 2015-07-07 00:59:06

Why doesn't git clone work when connecting to a repository via putty?

The server with centos connects to the bitbucket repository using ssh-rsa keys. If this is done directly as root on this machine, then git clone succeeds. If you connect to the machine with putty and try to clone the repository as root, a permission denied message appears. Why is this happening? How to generate keys that can be used to work with git under putty?
Permission denied (public key).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2015-07-07
@mr_blond97

perhaps by putti you inherit the rights of the root, and do not become a root.
It's all about .ssh/config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question