See here and then add this to : This allows clients on the local network to login using password authentication while limiting the Internet in general to key-based authentication. Be the first to like. Like Unlike
Also filed in
|
Tagged sshd
|
I’m about to upgrade to FreeBSD. While I csup the latest RELENG-9.0 branch, I’m looking at my Samba performance on 8.2. I’m measuring a copy of to the Samba server using the following batch file (taken from here): That’s a 1751164811 byte file, so that’s 21.59 MiB/s. To receive: This is a 2,388,531,200 byte file, […]
With epair, there are two interfaces created and that are direct connections between each other (like an Ethernet cable). When used with jails using an command, one side ( for example) sgoes inside the jail. Since the other side of this virtual direct-connection stays on the outside of the jail, the pairs act as an […]
I ran iozone on many different ZFS pool configurations, to get an idea of which drives are best for L2ARC (cache) and the ZIL. I also wanted to get an idea of whether using gpart affects performance. The configurations shown in the tables below have the formation [cache]_[gpart/gnop]_[zil]. Where [cache] is the L2ARC type. [gpart/gnop] […]
I recently had a problem with ZFS. I went back to not using glabel, mainly because I wanted to force 4KB sector alignment on my drives and therefore used a gnop trick. About a month after doing so, I shuffled my drives around. I had ada4 and ada5 set up in a mirror configuration. At […]
From http://www.ibiblio.org/pub/Linux/docs/HOWTO/Xterm-Title Here’s mine (tcsh): Instead of casing screen, I should probably check for $DISPLAY. Someday. Be the first to like. Like Unlike
I’ve been debugging why my printer won’t receive an IP from my dd-wrt router. (This is a beta version of Buffalo’s branded dd-wrt firmware: DD-WRT v24SP2-EU-US (05/25/11) std – build 17135.) I actually “upgraded” to the beta version while debugging this problem. Originally, I had the release version of Buffalo’s DD-WRT. Anyway, to summarize, it […]
This all-in-one printer can scan to a Windows share. I have a Windows share hosted by Samba on FreeBSD. Unfortunately, the printer/scanner intermittently (and pretty often) says it can’t find my FreeBSD machine when I–or more importantly my wife tries to scan a document. I went pretty deep on this and took a packet capture: […]
My latest security schemees that I’ve mapped the Samba guest user to a new user “samba_guest”. I’ve made nobody the owner of public shares. I’ve removed the allow settings for the “nobody” user. I then enable everyone to read: Note that I’ve set up Samba with the ZFS ACL module. For each share, I’ve added […]
Just gathering bits of information on how to get this done: The first set of instructions (for FreeBSD 7.x) was here:CrashPlan on FreeBSD HOWTO This didn’t work that well on FreeBSD 8.x. There was some problem with epoll. The breakthrough came from Aaron here: Add -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider to the bin/run.conf for the engine. Finally, here’s an […]