FaJoSSHD

ScreenshotThis module implements an OpenSSH server and provides a basic status and configuration page that allows to fully configure the server. This module is meant to replace the older SSHD module.

OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions. OpenSSH is developed by the OpenBSD Project.

Supported Models

This module should work for the following models:

1U4200XXX, N2310, N2800, 1U4500, N4310, N4510U, 1U4600, N4510UPRO, M3800, N4800, N0503, N4800Eco, N2200XXX, N5550, N2520, N2560, N3200PRO, N6850, N3200XXX, N7510, N4100PRO, N7700PROv2, N4200, N8800PROv2, N4200Eco, N8900, N4200PRO, N8850, N4520, N8900V, N10850, N4560, N12000, N5200, N12000PRO, N5200PRO, N12000V, N5200XXX, N16000, N5500, N16000PRO, N7700, N16000V, N7700+, N7700PRO, N7700SAS, N8200XXX, N8800, N8800+, N8800PRO, N8800SAS

Installation

Extract the module binary package (.mod) from the archive and install it.

Configuration

After enabling the module the module status and configuration page can be accessed. The SSH daemon listenes on port 10022 on all available interfaces - this can be changed through the module configuration page. To login use the use name root along with the admin password.

Using the Wrapper Scripts

Since release 1.04.00 of the module two platform independend wrapper scripts are available to remotely trigger a reboot or shutdown of the NAS. The scripts are

/raid/data/module/FaJoSSHD/system/sbin/wrapper.reboot

to reboot the NAS

/raid/data/module/FaJoSSHD/system/sbin/wrapper.shutdown

to shut the NAS down (poweroff)

To remotely trigger one of the actions you just need to connect to the NAS through ssh as root and run one of the scripts (replace NASIP by the IP address of the NAS). Example:

ssh -l root NASIP /raid/data/module/FaJoSSHD/system/sbin/wrapper.shutdown

To automate the action you may use public keys. Just create a keypair for every action on your client and then add a line similar to the one below for each action to the file /raid/data/module/FaJoSSHD/system/etc/ssh/users/root/authorized_keys:

command="/raid/data/module/FaJoSSHD/system/sbin/wrapper.shutdown" ssh-rsa .....

The "ssh-rsa ....." has to be replaced by the public key to be used for shutdown in the example above.

Now you can run

ssh -l root -i KEYFILE NASIP

with KEYFILE replaced by the private key file to use and NASIP replaced by the IP address of the NAS.

See also How to remotely shut down the NAS [FaJoSSHD].

Further informationen

Attachments

AttachmentSize
[file] FaJoSSHD 1.09.02
MD5: 5a833fce40d6421240155f3d786c0263
8.85 MB
[file] FaJoSSHD 1.08.00
MD5: d5f3f307411281318c52df8ed1dde021
8.92 MB