笔记备份:2025-06-08 21:18:51

This commit is contained in:
2025-06-08 21:18:51 +08:00
parent d021244470
commit 40ea563a6a
5 changed files with 78 additions and 16 deletions

View File

@@ -195,7 +195,7 @@
}, },
"84495aa7-b700-4720-aff4-326f29f1ed45": { "84495aa7-b700-4720-aff4-326f29f1ed45": {
"2025-06-08": { "2025-06-08": {
"totalDelta": -529, "totalDelta": -166,
"files": { "files": {
"A0-Diary/广铁笔试.md": { "A0-Diary/广铁笔试.md": {
"initial": 10817, "initial": 10817,
@@ -220,6 +220,10 @@
"README.md": { "README.md": {
"initial": 200, "initial": 200,
"current": 200 "current": 200
},
"A3-Tools/SSH/添加其他密钥.md": {
"initial": 0,
"current": 363
} }
} }
} }

View File

@@ -1705,20 +1705,20 @@
"isCountable": true, "isCountable": true,
"targetNodeType": "file", "targetNodeType": "file",
"noteCount": 1, "noteCount": 1,
"wordCount": 411, "wordCount": 299,
"wordCountTowardGoal": 0, "wordCountTowardGoal": 0,
"wordGoal": null, "wordGoal": null,
"pageCount": 1.37, "pageCount": 0.9966666666666667,
"characterCount": 2755, "characterCount": 2224,
"nonWhitespaceCharacterCount": 2486, "nonWhitespaceCharacterCount": 1988,
"newlineCount": 97, "newlineCount": 87,
"readingTimeInMinutes": 1.0649811320754718, "readingTimeInMinutes": 0.8037358490566038,
"linkCount": 0, "linkCount": 0,
"embedCount": 0, "embedCount": 0,
"aliases": null, "aliases": null,
"createdDate": 1748236347000, "createdDate": 1748236347000,
"modifiedDate": 1748236347000, "modifiedDate": 1749368622813,
"sizeInBytes": 3343, "sizeInBytes": 2606,
"sessionStart": { "sessionStart": {
"noteCount": 1, "noteCount": 1,
"pageCount": 1.37, "pageCount": 1.37,
@@ -1727,6 +1727,33 @@
"nonWhitespaceCharacterCount": 2486, "nonWhitespaceCharacterCount": 2486,
"newlineCount": 97 "newlineCount": 97
} }
},
"A3-Tools/SSH/添加其他密钥.md": {
"isCountable": true,
"targetNodeType": "file",
"noteCount": 1,
"wordCount": 0,
"wordCountTowardGoal": 0,
"wordGoal": null,
"pageCount": 0,
"characterCount": 0,
"nonWhitespaceCharacterCount": 0,
"newlineCount": 0,
"readingTimeInMinutes": 0,
"linkCount": 0,
"embedCount": 0,
"aliases": null,
"createdDate": 1749388524107,
"modifiedDate": 1749388524107,
"sizeInBytes": 0,
"sessionStart": {
"noteCount": 0,
"pageCount": 0,
"wordCount": 0,
"characterCount": 0,
"nonWhitespaceCharacterCount": 0,
"newlineCount": 0
}
} }
} }
} }

View File

@@ -1,5 +1,9 @@
{ {
"recentFiles": [ "recentFiles": [
{
"basename": "添加其他密钥",
"path": "A3-Tools/SSH/添加其他密钥.md"
},
{ {
"basename": "README", "basename": "README",
"path": "README.md" "path": "README.md"

View File

@@ -13,13 +13,13 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "README.md", "file": "A3-Tools/SSH/添加其他密钥.md",
"mode": "preview", "mode": "source",
"source": true, "source": true,
"backlinks": false "backlinks": false
}, },
"icon": "lucide-file", "icon": "lucide-file",
"title": "README" "title": "添加其他密钥"
} }
} }
] ]
@@ -112,13 +112,13 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "README.md", "file": "A3-Tools/SSH/添加其他密钥.md",
"followCursor": false, "followCursor": false,
"showSearch": false, "showSearch": false,
"searchQuery": "" "searchQuery": ""
}, },
"icon": "lucide-list", "icon": "lucide-list",
"title": "README 的大纲" "title": "添加其他密钥 的大纲"
} }
}, },
{ {
@@ -237,6 +237,9 @@
}, },
"active": "b23a4afdd37382e0", "active": "b23a4afdd37382e0",
"lastOpenFiles": [ "lastOpenFiles": [
"README.md",
"A3-Tools/SSH/添加其他密钥.md",
"A3-Tools/SSH",
"A1-Work/接单/电梯维保系统.md", "A1-Work/接单/电梯维保系统.md",
"A3-Tools/Obsidian/插件/推荐插件.md", "A3-Tools/Obsidian/插件/推荐插件.md",
"A3-Tools/Obsidian/代码片段/图片位置.md", "A3-Tools/Obsidian/代码片段/图片位置.md",
@@ -255,7 +258,6 @@
"A5-Attachments/iaQfTWE1_IkxJDJc02NfH8RNKcIKrbpr-gXHf5DUJrtoIFDNN3a4rgjeyF2KS3Pz8L_YBLYlDlscbxIdMuhnxQ.png", "A5-Attachments/iaQfTWE1_IkxJDJc02NfH8RNKcIKrbpr-gXHf5DUJrtoIFDNN3a4rgjeyF2KS3Pz8L_YBLYlDlscbxIdMuhnxQ.png",
"A5-Attachments/C7a-r07FfPOQ-9k4kfgGeD1U5j5D_-XqZ9bATFrFeuykxtZqOeMCqzcMgHehYKabD8ajuo9_joWDPLuU-MIerw.png", "A5-Attachments/C7a-r07FfPOQ-9k4kfgGeD1U5j5D_-XqZ9bATFrFeuykxtZqOeMCqzcMgHehYKabD8ajuo9_joWDPLuU-MIerw.png",
"A1-Work/接单", "A1-Work/接单",
"README.md",
"A7-Template/标准模板.md", "A7-Template/标准模板.md",
"A7-Template", "A7-Template",
"A3-Tools/Obsidian/插件", "A3-Tools/Obsidian/插件",
@@ -272,7 +274,6 @@
"A0-Diary/未命名.canvas", "A0-Diary/未命名.canvas",
"A0-Diary/未命名.md", "A0-Diary/未命名.md",
"A0-Diary/未命名 1", "A0-Diary/未命名 1",
"A0-Diary/未命名",
"A1-Work/Hello World.md", "A1-Work/Hello World.md",
"A1-Work/未命名 1.md", "A1-Work/未命名 1.md",
"测试软件回收站.md" "测试软件回收站.md"

View File

@@ -0,0 +1,26 @@
## 准备
- `id_rsa`
- `id_rsa.pub`
## 开始
1. 在用户根目录创建 `.ssh` 文件夹
```shell
mkdir ~/.ssh && cd ~/.ssh
```
2. 将上面准备的文件复制到创建的 `.ssh` 文件夹中
3. 修改文件夹与文件权限
```shell
chmod 700 ~/.ssh
chmod 644 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_xxx
```
4. 添加至 ssh
```shell
ssh-add ~/.ssh/id_rsa
```
## 配置
```shell
git config --global user.name "用户名"
git config --global user.email "邮箱"
```