pedroborges / kirby-autogit

⬢ Saves every change made via Kirby Panel to a Git repository
149 stars 23 forks source link

Authentication #37

Closed illycz closed 6 years ago

illycz commented 6 years ago

Plugin working from local environment but when I try pull or push something from my server i get: fatal: could not read Password for 'https://illycz@bitbucket.org': No such device or address

Do I forget something?

My settings:

c::set('autogit.branch', 'master');
c::set('autogit.remote.name', 'origin');
c::set('autogit.remote.branch', 'master');

c::set('autogit.webhook.secret', 'mysecretkey');
c::set('autogit.webhook.url', 'autogit');

c::set('autogit.panel.user', true);
c::set('autogit.user.name', 'My name');
c::set('autogit.user.email', 'my-email@my-domain.com');

c::set('autogit.widget', true);

c::set('autogit.language', 'en');
illycz commented 6 years ago

Do I need some SSH configuration from server?

illycz commented 6 years ago

For clarification, commit is created. Push and pull actually not working locally nor on server.

Thanks

illycz commented 6 years ago

Are you using ssh or https authentication?

pedroborges commented 6 years ago

SSH is all you need. Your server's public SSH key must be added to your Github/BitBucket account, otherwise, authentication will fail.