Have you ever wished you could remotely access your server's admin console without having to setup a complex remote access system? Now you can with Minecraft-SSHD!
Minecraft-SSHD securely exposes your Minecraft admin console and the server filesystem using the SSH protocol - the same protocol that serves as the secure foundation for nearly all remote server administration.
-noconsole
)Note: By default, only public key authentication is enabled. This is the most secure authentication mode! Setting a username and password will make your server less secure.
Setting up public key authentication with SSH requires first generating a public and private key pair and then installing just the public key on your Spigot server. This plugin supports all modern SSH key algoritms as OpenSSH. You can paste as many public keys from the methods below into each user's authorization file if they have multiple private keys. You can read this guide from ssh.com if you want a better explanation on different key files.
puttygen
(you can search for it in start search).Generate
and follow the directions.Public key for pasting into OpenSSH authorized_keys file
plugins/SSHD/authorized_users
folder and name the file just the username (example: justasic
, there should NOT be a file extension or authentication does not work).ssh-keygen
then follow the prompts.id_<algorithm>.pub
file (example: if your key was generated with rsa, it will be named id_rsa.pub
). This file is usually located in /home/YOURUSERNAME/.ssh/
plugins/SSHD/authorized_users
folder and name the file just the username that the user will use to login with (example: justasic
, there should NOT be a file extension or authentication does not work).puttygen
(you can search for it in start search).Conversions
then click Import Key
and select your .ppk file.Public key for pasting into OpenSSH authorized_keys file
plugins/SSHD/authorized_users
folder and name the file just the username (example: justasic
, there should NOT be a file extension or authentication does not work).id_<algorithm>.pub
file (example: if your key was generated with rsa, it will be named id_rsa.pub
). This file is usually located in /home/YOURUSERNAME/.ssh/
plugins/SSHD/authorized_users
folder and name the file just the username that the user will use to login with (example: justasic
, there should NOT be a file extension or authentication does not work)./mkpasswd <hash|help> <password>
mkpasswd supports the following hash algorithms:
sshd.mkpasswd
- Checks if the in-game user has access to run the mkpasswd command.
Minecraft-SSHD uses cryptographic certificates or a secure username and password to verify remote access.