top of page

Create Git Server from my NAS

Recently I am creating a git server in my NAS by following the tutorial here:


I have stuck in mainly two errors and I want to jot it down once I need to create another repository:


Permission problem when pushing the commit:

! [remote rejected] master -> master (failed to update ref)

Do NOT use the command:

git --bare init xxx.git

but creating the base directory by yourself and use simply bare init:

mkdir xxx
cd xxx
git --bare init

SSH connection problem:

kex_exchange_identification: read: Connection reset by peer

This is simply because your NAS blocked your connection due to too many attempts of filling wrong password...


Go to your NAS Control Panel -> Security -> Account, press Allow/Block List and remove the Blocked IP.



 
 
 

Recent Posts

See All
Django Notes 8: Query of Database

There are several examples for query the objects in the following: https://github.com/divanov11/crash-course-CRM/blob/Part-8---data-to-te...

 
 
 

Comments


  • Facebook - White Circle
  • Instagram - White Circle
  • LinkedIn - White Circle

© 2017 by Johnny. Make it just for fun.

bottom of page