manage your authorized_keys with discord.

discord_ssh

manage your authorized_keys with discord.

⚠️ warning
anyone with send message permissions in the channel you use can add new keys

should i use this

please don't. i made it as a joke. if you use it i will cry.

setup

system

  • install discord_ssh with proper permissions
    go install github.com/easrng/[email protected] && sudo sh -c 'cp '"${GOPATH:-$HOME/go}"'/bin/discord_ssh /sbin/discord_ssh && chmod 700 /sbin/discord_ssh'
  • edit your /etc/ssh/sshd_config file to include
    AuthorizedKeysCommand /sbin/discord_ssh
    AuthorizedKeysCommandUser root
    
  • restart sshd to apply the changes
    sudo systemctl restart sshd

user

  • make a file named ~/.ssh/config_discord that only your account can access
    touch ~/.ssh/config_discord
    chmod 600 ~/.ssh/config_discord
  • edit it to include your discord bot token and the id of the channel that will contain your authorized keys
    {
        "token": "MDAwMDAwMDAwMDAwMDAwMDAwMA.GACckG.eqfP9yG2Irjn6tdJG7Y5LU5OWFSjzdHwTEPomQ",
        "channel": "1000000000000000000"
    }

that's it, you're good to go

Similar Resources

Show when you're out and about on a Boosted board on your Discord RPC

boosted-rpc Show when you're out an about on a Boosted board on your Discord RPC I use this with the Ride app for iOS and the IFTTT integration. Effec

Jul 24, 2022

A Discord bot for managing ephemeral roles based upon voice channel member presence.

A Discord bot for managing ephemeral roles based upon voice channel member presence.

ephemeral-roles A Discord bot for managing ephemeral roles based upon voice channel member presence. Quickstart Click on the Ephemeral Roles logo head

Dec 19, 2022

Bot used for https://discord.gg/rflutterdev

FlutterDoc A bot offering exactly what we need in The r/FlutterDev Discord Server that Dyno can't offer us. Quick search patterns that can be embedded

Dec 8, 2022

Harmony is a peaceful Go module for interacting with Discord's API

Harmony Harmony is a peaceful Go module for interacting with Discord's API. Although this package is usable, it still is under active development so p

Sep 18, 2022

An easy-to-use discord bot written in go

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Jan 23, 2022

discord exploit tools written in golang

The ultimate CLI tool for TiKV

Aug 19, 2021

An extension for discordgo to create a Discord bot quickly using the Builder pattern.

botbuilder An extension for discordgo to create a Discord bot quickly using the Builder pattern. Example usage: package main import ( "log" "os"

Oct 12, 2022

Discordo is a lightweight, secure, and feature-rich Discord terminal client.

Discordo is a lightweight, secure, and feature-rich Discord terminal client.

discordo · [WIP] Discordo is a lightweight, secure, and feature-rich Discord terminal client. It is highly configurable and has a minimalistic user in

Jan 5, 2023

Formats discord tokens to different formats.

Formats discord tokens to different formats.

token_formatter Formats discord tokens to different formats. Features Format your current tokens to a new format! Every tool uses a different format f

Nov 3, 2022
Domo is a Discord bot to help you manage your FOMO (fear of missing out).

domo domo is a Discord bot to help you manage your FOMO (fear of missing out). Development Download and install Go: Instructions To run the bot first

Jan 4, 2022
discord bot that plays music in a voice channel discord

Music discord bot by serje3 Description A bot written in the Golang language plays music on your server's voice channel on Discord. It can be built an

Nov 17, 2021
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Mar 12, 2022
Discord-dl: a tool to archive discord channels

discord-dl discord-dl is a tool to archive discord channels. I think it's safe t

May 18, 2022
Discord-finder - The back-end for retrieving information about people on discord
Discord-finder - The back-end for retrieving information about people on discord

About This is the backend application for Discord Finder, it allows you to retrive information about people on discord just like the discord lookup we

Jan 4, 2022
Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022
Wipe-discord - TUI application to erase Discord messages
Wipe-discord - TUI application to erase Discord messages

wipe-discord Terminal user interface (TUI) application to delete Discord message

Aug 21, 2022
Discord bot to check the metas of your OnChainMonkey

ocm-meta-discord-bot Unofficial Discord bot to check the metas of your OnChainMonkey. Permissions Requires the following permissions to work on Discor

Nov 20, 2021
RaunchBot brings you the latest Raunchy content straight to your favorite Discord server.

RaunchBot RaunchBot brings you the latest Raunchy content straight to your favorite Discord server. Development: Compile and run the project. TOKEN=ab

Jan 22, 2022
RaunchBot brings you the latest Raunchy content straight to your favorite Discord server.

RedditBot RedditBot brings you the latest Raunchy content straight to your favorite Discord server. Get RedditBot in your discord here. Bot Commands:

Jan 22, 2022