Disable root ssh access
Disable root ssh access: root@MikroDroplet:/# sed -i ‘s/PermitRootLogin\ yes/PermitRootLogin\ no/g’ /etc/ssh/sshd_config
Disable root ssh access: root@MikroDroplet:/# sed -i ‘s/PermitRootLogin\ yes/PermitRootLogin\ no/g’ /etc/ssh/sshd_config
Ensure you are firewalled: root@MikroDroplet:/home/mikrodots# apt-get install ufw Reading package lists… Done Building dependency tree Reading state information… Done ufw is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. root@MikroDroplet:/home/mikrodots# ufw allow 22/tcp Rules updated Rules updated (v6) root@MikroDroplet:/home/mikrodots# ufw enable Command may disrupt existing ssh connections.[…]
# userdel username # adduser username # passwd username
Chased this one for a bit… had to: [colin@superBSD] # grep -R -e ‘smi\.h’ / … /usr/local/include/smi.h: * smi.h — ooohhh: [colin@superBSD] # ln -s /usr/local/include/smi.h /usr/include/ Duh.
I was having some issues with a cron job I created as root using crontab -e the entry was: */15 * * * * /path/to/file.py After ripping my hair out overnight (Troubleshooting tips): tail /var/log/cron (checks if it is running) add a line to your crontab: MAILTO=”you@domain.com” – will email you debugging info Here’s the[…]
https://github.com/CRBS/zfsmon (Follow CRBS’s README for more info – I had to run into a few walls / do dome debugging in order for everything to work without issue on FreeBSD 10) (Get Ruby and Gem and Bundle functioning) (Get MySQL functioning) (On Server): # git clone https://github.com/CRBS/zfsmon # cd zfsmon/webapp # ruby start.rb run (will[…]