Scenario; set up ssh keys to machine so that you do not require a password for use with something like scp. First you need a slave user. If you ‘adduser’ on both machines and pick a user name. Make sure they have a shell account but do not require authentication using a password. On the ..
Category : FreeBSD
Scenario: scp using ssh keys to a machine on my network, but received the error – protocol error: mtime.sec not present On creating the user on the remote machine I used nologin, instead of a shell. Simply changing the user via vipw to a shell fixed ..
I was fighting with this error for some time. I’ve fixed it quite a few times, but I forgot again because it’s been so long since I built a new mailscanner / mailwatch machine. The error was this – mailwatch detail.php XML-RPC Error: Invalid return payload: And then in the logs some of ..
Here are my instructions for ESXI5.5 and VM Version vmx-10 I tried instructions on http://ogris.de/vmware/freebsd10.html but it choked on line 9 with an error. I assume this was instructions for 10.0 only. When manually trying to install them it failed because it could not find perl. I basically changed every reference to perl and then it ..
I’m still learning about this, but here are my latest instructions that seem to work well for me. I am going to show you how to upgrade from a 10.0 to 10.1 release. You can check what you are running by – uname -a Firstly, we need to upgrade to the latest version we are ..
One of my servers has a failed disk, but I’m not entirely sure which one. I installed arcconf – cd /usr/ports/sysutils/arcconf make install /usr/local/sbin/arcconf getconfig 1 Shows me the output, which will show me the failed disk or battery problems etc. &nb..
I recently installed FreeBSD 10, as I broke my server by trying to install a 32bit ESET av, which is actually all they provide for FreeBSD. Anyway, I couldn’t see anything in the source /usr/src/ so I tried to install it using sysinstall. # sysinstall bash: sysinstall: command not found sysinstall for FreeBSD 10 has ..
Vi delete from line1 to current :1,.d This deletes lines 1 to current. :1,.-1d This deletes lines 1 to abov..
I installed a certificate for apache to enable SSL on a website. To create the CSR for the authority it asks for a passphrase. When you install the certificate and restart the httpd service it asks for the passphrase, so it needs to be removed from the private key. To do this use ..
Installing TLS on sendmail Freebsd – cd /usr/ports/security/cyrus-sasl2-saslauthd && make install echo ‘saslauthd_enable=”YES”‘ >> /etc/rc.conf Start the saslauthd – /usr/local/etc/rc.d/saslauthd.sh start Changing sendmail build options – vi /etc/make.conf #Add the following – # SASL (cyrus-sasl v2) sendmail build flags… SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail… SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL ..