This commit is contained in:
Konano 2023-07-16 00:31:03 +08:00
commit bd2059fbc8
2 changed files with 20 additions and 0 deletions

13
files/authorized_keys Normal file
View File

@ -0,0 +1,13 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEBVVTDmX2XZJDtT7k+KBUN+j9NZq9boCQuHbcJRCPBu windows10.thu.pc
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGTwBtjCH6PAU4a61zkdeJ+8pouhztqGi5OIggqnIpyL ubuntu2004.thu.pc
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOkqPZESXHYjbCzw51mrQLQEZ+muaBinRVYltz1CEQLl windows10.lenovo.laptop
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMy/Yvj5sQz6HkLL5ZKcQEuRHhDhNkj/DUaKcSXE4/V7 ubuntu2004.lenovo.laptop
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMXOIi59RqrsORYqCantMkpxJPw6Ty5O8u9kfLKSJDtH ubuntu2204.lenovo.laptop
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHwC4lNhx6Kym+qOYO/IVokQXFVJmhQhGLcQka8UWPeT Terminus
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOHW3PmPjR9awivFipLuD2/zEoH4LhzPyxv7pb/IDIpF winscp.lenovo.laptop
# for rsync
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBXZrcPKdwOguuB0IGuhES90obnGvn1UI5+nZy1PrzF+ RsyncForUser
# obsoleted
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIRlSQRXPW80ezdepIabFhPG5q/0kgImedf/HLdkl06/ JuiceSSH

7
init_root.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
scriptdir=$(dirname $(realpath $0))
mkdir -p ~/.ssh
cat $scriptdir/files/authorized_keys >> ~/.ssh/authorized_keys