- Ssh private key auth
- generate private key
ssh-keygen
- move to server
- on client copy
cat ~/.ssh/id_rsa.pub
- paste in
nano ~/.ssh/authorized_keys
- on client copy
- Disable password authentication
go tonano /etc/ssh/sshd_config
changePasswordAuthentication
line tono
- generate private key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import remarkMath from "npm:remark-math"; | |
import remarkParse from "npm:remark-parse"; | |
import { unified } from "npm:unified"; | |
import { type MessageEntity } from "npm:grammy/types"; | |
// @deno-types="npm:@types/mdast" | |
import type { RootContent } from "npm:mdast"; | |
export function mdV2(markdown: string) { | |
const processor = unified().use(remarkParse).use(remarkMath); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQGNBFzsTL8BDADQjSDQ48RufBazTRFzhmIdVLZ7SHurZVe2gZXFtqax5EnXpATL | |
mlDkuKjW9g5GNdxLH+/qGb7qeHNRl8S3XdbliZdUZ+W4DW/xlKgtwszWi0o9b3he | |
DNoxemxpvv6DgUXndfCSJByuALfs4ODQd8s7h3OaGyHArEsK/Vb2ORWeojYgH2tf | |
P3CRJA2LoukD49yT/N1LDN0WZ8pVoTIxB4WrIW9gARHcp3S6KnOZFGpZZ/JdvTVf | |
4HN6EBkTVasl1aUTdoJ9rTWcp8N9iGgoPUCfgjI0rSBjZArwEPIQSdE4Xxs3KxFt | |
HERKDCqNgmblp1MWnoUaPp3gwbpCX5fTLYsi7g63ESRg+e3+jMdW1/uVreTa8Kc8 | |
EroqnY9HWTRl80v8URb5MWq5kZYPt0fitOpaBDDDbgLmPZ7sjvYdwwd1QhryGwyR | |
KL4BKdpgLodAhGtelUiE4dhXFEP8z8lKSj/iJDoqmFGoZ9+hithKcOWBRYDZ98xg |