DISCLAIMER: Wackster did not originally develop this plugin, Wackster ported this plugin over from Bukkit, the original Plugin can be found here.
- Compatible API Versions:
- Haarolean, Turpster, rmichela, toxuin
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 SSHD.
SSHD securely exposes your nukkit admin console using the SSH protocol - the same protocol that serves as the secure foundation for nearly all remote server administration.
Why should I use SSHD?
- Compatible with all ssh clients, regardless of operating system.
- Remotely issue commands from the server console, just as if you were on the server itself.
- Supports multiple concurrent remote connections.
- Strong identity support using public key authentication.
- Remotely script your server by issuing one-off console commands with ssh.
- Your server runs on Windows.
- You are in a shared hosting environment that only gives you access to the log files.
- You want to share access to your server console, but don't want to give anybody access to the machine its running on.
- You always wanted to use RCON, but want to see the server log as well.
- You are tired of running your server in a Screen session.
- You just want to access your server console using SSH.
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.
- listenAddress - The network interface(s) SSHD should listen on. Default all
- port - Specify the port SSHD should listen on. Default 22
- username/password - The credentials used to log into the server console. Default blank
Setting Up Public Key Authentication
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 Bukkit server.
1. Download PuttyGen
Use PuttyGen to create a new public/private key pair. Here is a tutorial video.
- Make sure to set a key passphrase
- Make sure your key type is SSH-2 RSA
- Save the public key with your login name
- Save the private key in a secure location
3. Copy the public key to the authorized_keys directory in the SSHD plugin directory.
- Make sure the public key file name matches the user name you want to log in with. Remove the file extension.
On Linux/OS X
1. Check to see if you have an existing ssh key
- $ ls -al /.ssh
- If you get a directory not found error or an empty list, go to step 2, otherwise go to step 3
2. Create your SSH public/private key pair.
- $ ssh-keygen -t rsa
- - Press Enter to accept the default path (.ssh\id_rsa)
- - Set a passphrase
- $ eval "$(ssh-agent -s)"
- $ ssh-add /.ssh/id_rsa
3. Export your SSH public key in PEM format.
- $ ssh-keygen -ef /.ssh/id_rsa > your_username
- replace your_username with your Minecraft login name
4. Copy the your_username file to the authorized_keys directory in the SSHD plugin directory.
None - just install and go.
None - SSHD uses cryptographic certificates or a secure username and password to verify remote access.