You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/04-git-server/sections/setting-up-server.asc
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,4 @@
1
1
[[_setting_up_server]]
2
-
=== Setting Up the Server
3
-
4
-
Let's walk through setting up SSH access on the server side.
5
-
In this example, you'll use the `authorized_keys` method for authenticating your users.
6
-
We also assume you're running a standard Linux distribution like Ubuntu.
7
-
First, you create a `git` user and a `.ssh` directory for that user.
8
-
9
2
=== Ρύθμιση του διακομιστή
10
3
11
4
Θα δούμε τώρα την ρύθμιση της πρόσβασης SSH από την πλευρά του διακομιστή.
@@ -84,7 +77,7 @@ $ git commit -am 'fix for the README file'
84
77
$ git push origin master
85
78
----
86
79
87
-
Με αυτήν την μέθοδο, μπορούμε να ξεκινήσουμε γρήγορα έναν διακομιστή Git ανάγνωσης/εγγραφής για μερικούς προγραμματιστές.
80
+
Με αυτήν τη μέθοδο, μπορούμε να ξεκινήσουμε γρήγορα έναν διακομιστή Git ανάγνωσης/εγγραφής για μερικούς προγραμματιστές.
88
81
89
82
Θα πρέπει να σημειώσουμε ότι αυτήν την στιγμή όλοι αυτοί οι χρήστες μπορούν επίσης να συνδεθούν στον διακομιστή και να ανοίξουν ένα κέλυφος ως χρήστης `git`.
90
83
Εάν θέλουμε να θέσουμε περιορισμό σε αυτό, θα πρέπει να αλλάξουμε το κέλυφος σε κάτι άλλο στο αρχείο `passwd`.
0 commit comments