I have two 4TB single bay MyCloud devices. On the outside they are identical, but it turns out that they run different flavours of Linux. I have switched on ssh and both are exposed to the internet. I would therefore like to log failed ssh login attempts.
On one of my devices (which is two or three months older than the other) this info is logged in /var/log/sshd.log. I think this device runs some flavour of Ubuntu. The other, slightly newer, device has no sshd.log or auth.log. It doesn’t seem to be logging anything from sshd. I can’t quite figure out what kind of linux this device is running; cat /proc/version gives me Linux version 3.10.39 (kman@kmachine).
Could anyone tell me how I set up sshd logging on this device?
The older first gen v3.x/v4.x My Clouds run a custom version Debian. Later versions of v4.x use 64K page file size which causes problems when people try to run standard Linux programs through SSH, in particular APT-GET which can brick the My Cloud.
The newer second gen v2.x My Clouds use a different form of Linux and run a version of Busybox.
Oh right, and Busybox runs off a ramdisk, so everything is erased after a reboot? I scrapped my dlink NAS for that very reason. I guess next stop is Synology then…
The dlink NAS is better than the gen2. At least it has the fun_plug feature so you can modify
the device. You can’t even copy a program and get it to run with out a lot of effort. I’v had my DNS-323 for several years now. Now that I’ve got it set up I don’t have to touch it it just runs.