Compare commits
10 Commits
62b5b96c55
...
70e7dd9a63
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70e7dd9a63 | ||
|
|
9b442dfed5 | ||
|
|
d83121ab65 | ||
|
|
a93d863728 | ||
|
|
b64134a29e | ||
|
|
aa019ea8df | ||
|
|
1795b6d0a0 | ||
|
|
0d8dd283dd | ||
|
|
1b5e163be7 | ||
|
|
bc4ff16638 |
31
README.md
31
README.md
@ -1,30 +1,33 @@
|
|||||||
# ssh-key-dir
|
# ssh-key-dir
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
ssh-key-dir is an sshd AuthorizedKeysCommand that reads SSH authorized key files from a directory
|
ssh-key-dir is an sshd AuthorizedKeysCommand that reads SSH authorized key files from a directory, ~/.ssh/authorized_keys.d. It allows SSH keys to be managed by multiple tools and processes, without competing over ~/.ssh/authorized_keys.
|
||||||
|
|
||||||
#### 软件架构
|
ssh-key-dir reads key files in lexigraphical order, ignoring any filenames starting with a dot.
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
#### 安装教程
|
||||||
|
|
||||||
1. xxxx
|
Install ssh-key-dir rpm package:
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
yum install ssh-key-dir
|
||||||
|
|
||||||
|
|
||||||
|
You can also install just the ssh-key-dir binary with Rust's Cargo package manager:
|
||||||
|
|
||||||
|
cargo install ssh-key-dir
|
||||||
|
|
||||||
#### 使用说明
|
#### 使用说明
|
||||||
|
|
||||||
1. xxxx
|
ssh-key-dir 是云底座操作系统NestOS的必需组件
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
1. Fork 本仓库
|
master分支使用最新的上游版本,如果检测到上游有最新版本发布,先形成issue后再提交对应PR更新,流程如下。
|
||||||
2. 新建 Feat_xxx 分支
|
1. 提交issue
|
||||||
3. 提交代码
|
2. Fork 本仓库
|
||||||
4. 新建 Pull Request
|
3. 新建 Feat_xxx 分支
|
||||||
|
4. 提交代码
|
||||||
|
5. 新建 Pull Request
|
||||||
|
|
||||||
|
|
||||||
#### 特技
|
#### 特技
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Release: 1
|
Release: 4
|
||||||
Summary: sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
|
Summary: sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
|
||||||
|
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
URL: https://crates.io/crates/ssh-key-dir
|
URL: https://crates.io/crates/ssh-key-dir
|
||||||
Source: %{crate}-%{version}.crate
|
Source: %{crate}-%{version}.crate
|
||||||
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
||||||
@ -24,7 +24,7 @@ sshd AuthorizedKeysCommand to read key files from ~/.ssh/authorized_keys.d.}
|
|||||||
|
|
||||||
%package -n %{crate}
|
%package -n %{crate}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
License: ASL 2.0 and MIT
|
License: Apache-2.0 and MIT
|
||||||
Requires: openssh-server
|
Requires: openssh-server
|
||||||
Requires(post): openssh-server
|
Requires(post): openssh-server
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
@ -76,6 +76,15 @@ install -Dpm0644 -t %{buildroot}%{_sysconfdir}/ssh/sshd_config.d conf/40-ssh-key
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 18 2024 lijian <lijian2@kylinos.cn> - 0.1.4-4
|
||||||
|
- Fix build error, I9HLT0
|
||||||
|
|
||||||
|
* Fri Dec 09 2022 liukuo <liukuo@kylinos.cn> - 0.1.4-3
|
||||||
|
- License compliance rectification
|
||||||
|
|
||||||
|
* Fri Dec 09 2022 chendexi <chendexi@kylinos.cn> - 0.1.4-2
|
||||||
|
- Fix unsafe compile option STRIP
|
||||||
|
|
||||||
* Tue Nov 08 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.4-1
|
* Tue Nov 08 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.4-1
|
||||||
- upgrade version to 0.1.4
|
- upgrade version to 0.1.4
|
||||||
|
|
||||||
|
|||||||
4
ssh-key-dir.yaml
Normal file
4
ssh-key-dir.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: coreos/ssh-key-dir
|
||||||
|
tag_prefix: "v"
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user