Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
ssh-ca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
ssh-ca
Commits
2e4f5a9b
Commit
2e4f5a9b
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
More work on testing.
parent
bd0499c8
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
Makefile
+3
-1
3 additions, 1 deletion
Makefile
ssh_config
+6
-0
6 additions, 0 deletions
ssh_config
sshd_config
+1
-1
1 addition, 1 deletion
sshd_config
with
11 additions
and
2 deletions
.gitignore
+
1
−
0
View file @
2e4f5a9b
...
...
@@ -6,3 +6,4 @@ CA*
users/
hosts/
.server.pid
known_hosts
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
1
View file @
2e4f5a9b
...
...
@@ -5,10 +5,12 @@ install:
chmod
755 /usr/local/bin/ssh-ca
clean
:
rm
-rf
CA CA.pub
users
hosts
rm
-rf
CA CA.pub
users
hosts
known_hosts
test
:
clean
./ssh-ca init
./ssh-ca newuser
$$
USER
./ssh-ca newhost localhost
echo
"@cert-authority *
$$(
cat CA.pub
)
"
>
known_hosts
$$(
which sshd
)
-dddf
sshd_config
#ssh -F ssh_config test
This diff is collapsed.
Click to expand it.
ssh_config
0 → 100644
+
6
−
0
View file @
2e4f5a9b
Host
test
HostName
localhost
Port
22222
IdentityFile
users/%u
UserKnownHostsFile
known_hosts
StrictHostKeyChecking
yes
This diff is collapsed.
Click to expand it.
sshd_config
+
1
−
1
View file @
2e4f5a9b
ListenAddress 127.0.0.1:22222
HostKey hosts/localhost
TrustedUserCAKeys ssh_ca.pub
HostCertificate hosts/localhost.pub
HostCertificate hosts/localhost
-cert
.pub
Banner "ssh-ca dummy test daemon"
PasswordAuthentication no
PermitRootLogin no
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment