198 reputation
119
bio website olivia.ericx.net
location Martha's Vineyard
age 54
visits member for 2 years, 5 months
seen Nov 20 at 15:48

A geek on an island.


Oct
24
awarded  Famous Question
Aug
28
comment SSH Public Key authentication - works only after a physical login
Try putting sshd in debug mode. Usually this spews to the current terminal; but in your case you might try: /usr/bin/sshd -d 2>&1 > ssh_debug.session. sshd will tell you what files it's trying to open and whether there are issues. Please note that sshd in debug will only answer one connection and then die; so be careful not to shoot yourself in the foot.
Aug
27
comment How to install FreeBSD 10 from USB Hard drive?
Good question. I've been using FBSD since '98 (I'm old). Way-back-when, FBSD was installed from floppy wherein the installer used ftp to pull down the various tar-balls (pretty slow). I really haven't used that feature in many years, but it might actually still be there... Your short answer is: "yes, it can be done." The longer answer is: "the installer is a long-neglected piece of code that no one uses much. There does exist a carefully pre-cooked version of the installer for CD/DVD and it can probably just be copied to a drive and launched. However, I have never seen a recipe for such."
Aug
27
answered How to install FreeBSD 10 from USB Hard drive?
Aug
12
comment Port 22 connection refused
You're right, but "connection refused" precludes ssh, scp, and sftp.
Aug
12
comment Port 22 connection refused
tdpdump or tshark is your friend. Run it at both ends to confirm first that the packets are leaving and then second to confirm that they arrive. If the packets arrive, is there a response and does the response arrive back where the whole thing started. Checking this will give you a lot of clues.
Aug
8
comment Can emacs render downloaded html files?
Is it the same as browsing by URL? Strictly speaking, no. Nowadays many (most?) pages are rendered somewhat dynamically. Interpretive code reads databases, and/or javascript modifies right on your browser to include fonts, what your screen size is, check licensing... That being said, a copy saved from Firefox should be pretty much a snapshot of what you saw at the moment the page was saved. (qualified enough?)
Aug
8
comment How to set the prompt and tab-title on Gnome-Shell (Gnome 3, centos 7)
I use printf "\033]0;hi\007" embedded in a little function: title () { printf "\033]0;${1}\007" }
Aug
8
answered Can emacs render downloaded html files?
Aug
8
comment Seeing SSH debug messages in Terminal/console
Check to see whether there is a logging specification for root. The logs may be appearing on the console simply because root is logged in.
Aug
7
comment Will mount search fstab for a best match?
I apologize, I'm not being helpful. The above example works for external drives on FreeBSD; but typically usdb is also doing an automount for me. Frankly, with the LABEL designations you have, I would have expected it to work.
Aug
7
revised Will mount search fstab for a best match?
added 395 characters in body
Aug
7
awarded  Editor
Aug
7
revised Will mount search fstab for a best match?
expanded the fstab example
Aug
7
comment Will mount search fstab for a best match?
Agin this may not be linux appropriate; but the trick is to use the path to the label in your fstab rather than the path to the partition's device. This also implies that all the labels are unique even tho the path to their partition device may be identical. So mount still stops with the first-fit; but since it's unique, it's what you want. (I expanded the fstab example above)
Aug
7
comment replace control characters in Emacs?
Selecting the offending char with the mouse, C-w (kill-ring-save), invoking M-% (query-replace), and C-y (yank) will put the evil char in the copy/replace buffer. Then type in whatever you want to replace it with.
Aug
7
comment Searching in man pages
Consider apropos (latin, I think for "appropriate"). As above, I believe that man -k is roughly identical to apropos.
Aug
7
comment Canot remove symlinks: after reboot, symlinks re-appear
That or some other RAM based config. e.g. ESXi creates a lot of the file system at boot from config files.
Aug
6
comment Will mount search fstab for a best match?
@GregBell "I think that's what the labels are for. For humans." Yes, they are certainly for humans; however, following the example I gave above, you can see that the machine will read them as well. Which is why they should all have different names. e.g.: olddata0, olddata1, olddata2, etc. I'm somewhat clueless about Ubuntu, but grep thru /dev when one of these beasts is plugged in and see if the name doesn't appear somewhere. Then try that path in /etc/fstab.
Aug
5
comment How do you remember command options?
** root@milicent ** ~/tmp ** Tue Aug 05 09:24:55 # pkg info (-e -d -f -l -o -p -D)-r[Displays the reverse dependencies] (-e -d -r -f -o -p -D)-l[Displays all files] (-e -d -r -l -f -p -D)-o[Displays origin] (-e -d -r -l -o -f -D)-p[Displays prefix] (-e -d -r -l -o -p -D)-f[Displays full information] (-e -d -r -l -o -p -f)-D[Displays message] (-e -f -r -l -o -p -D)-d[Displays the dependencies] (-f -d -r -l -o -p -D)-e[Returns 0 if <pkg-name> is installed] (-g -X -a -F)-x[Process packages that match the regex pattern] (-g -x -X -F)-a[Process all package