header

FreeBSD SSH session timeouts

I was tired of seeing this while logging into my server via SSH:

Read from remote host raybdbomb.com: Connection reset by peer

I messed around with the sshd config a bit and wasn’t able to get it to go away. I’m pretty sure that the connection is being closed by some firewall in the interim. So for a solution, I installed spinner.


cd /usr/ports/sysutils/spinner/
make install clean
spinner

It puts a character on the top left of the console, which keeps the session alive with minimal amounts of data transfer.

Works great! :)

Comments (1)

All moved in

Big thanks to Robin, Pat, Lenny and Dave who helped us move into our new house. Kudos!

Comments (0)

New House!

Our dogs were yipping at us because they thought our apartment was too small, and they wanted a yard to run and play in. So, we bought them a house!

We’re closing tomorrow and moving in this weekend. It’s located at
6712 NE 75th AVE
Vancouver, WA 98662
, only a few minutes from our apartment currently.

We are excited!

Comments (18)

New Dog: Gizmo

We have a new addition to our family, Gizmo Dehler, a long haired white and brown Chihuahua. This is to supplement our other Chihuahua, Daisy. His birthday is October 14th, 2006 and he is a cute little furball.

Comments (5)

How to setup a Subversion server and repository on FreeBSD

I had some trouble with this some months ago, so I thought I would create a guide to do it for my own future reference. The OS I used for this guide was FreeBSD 5.4, but it stands to reason that it would work on others.

First, install subversion from the ports

[root@sam ~]# cd /usr/ports/devel/subversion
[root@sam /usr/ports/devel/subversion]# make install clean

Next, add a user for the subversion server to run under. I made mine “svn” at “/home/svn”. And I made a directory for the repository “/home/svn/rep”.

Next, setup your /etc/rc.conf so that the svn server will start on boot, or start at all. Append this to /etc/rc.conf

#svn server
svnserve_enable="YES"
#svnserve_flags="-d --listen-port=3690 --listen-host=0.0.0.0"
svnserve_flags="-d -r /home/svn/rep --listen-host=0.0.0.0"
svnserve_data="/home/svn/rep"
svnserve_user="svn"
svnserve_group="svn"

Start your svn server

[root@sam ~]# /usr/local/etc/rc.d/svnserve.sh start

Create the repository with svn

[root@sam ~]# svnadmin create /home/svn/rep

Explicitly set the password file, edit {repository}/conf/svnserve.conf and uncomment the line

password-db = passwd

and do whatever other edits to fine tune your repository.

Edit the password file to your liking, setting up a user with write access. The password file is {repository}/conf/passwd

And wha-la, presto :)

Comments (1)


blogtimes