• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Git ssh cant push

 
Ranch Hand
Posts: 1400
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I get htis error:



Any idea, please?

Regards, Isaac
 
Saloon Keeper
Posts: 21603
147
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first question says that this is the first time you've ever tried to ssh into the git server. It's asking for permission to store the server's host information into your ./ssh/known_hosts file. That's fine and it will never ask that again unless you erase the entry in your .ssh/known_hosts file.

The "permission denied" error means that you have not supplied a valid SSH public key for that host/user OR that you aren't configured for it to prompt for a userid/password. That could be because of configuration settings on the SSH server.

Since this is github, I would expect it wants a userID/password, unless maybe this is a private account with a public key. On my system, popups prompt for userid and password, though.
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you followed the necessary steps, as outlined in this article?
 
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!