• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Git ssh cant push

 
Ranch Hand
Posts: 1402
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: 22483
151
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?
    Bookmark Topic Watch Topic
  • New Topic