笔记备份: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": {
"2025-06-08": {
"totalDelta": -529,
"totalDelta": -166,
"files": {
"A0-Diary/广铁笔试.md": {
"initial": 10817,
@@ -220,6 +220,10 @@
"README.md": {
"initial": 200,
"current": 200
},
"A3-Tools/SSH/添加其他密钥.md": {
"initial": 0,
"current": 363
}
}
}

View File

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

View File

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