Posts Tagged Debian

Recent issues with SSH

userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

And it will not allow to connect using older, SSH-1 keys.

The temporary solution is to add

PubkeyAcceptedKeyTypes +ssh-rsa

to the /etc/ssh/sshd_config and restart the SSH daemon. Well, it’s advisable not to use weaker keys for a long time.

Thanks to the Archlinux forum for the info

Tags: ,

My favourite X sceensaver is …


Captured with  ‘$ sleep 120 ; xwd -root -out full-screen.xwd


The Power of Pipes

Okay guys, the log if filling with

sshd[20117]: Invalid user pi from port 50416
sshd[20117]: input_userauth_request: invalid user pi [preauth]
sshd[20117]: Received disconnect from port 50416:11: Bye Bye [preauth]
sshd[20117]: Disconnected from port 50416 [preauth]
sshd[20119]: Invalid user cubie from port 39772
sshd[20119]: input_userauth_request: invalid user cubie [preauth]
sshd[20119]: Received disconnect from port 39772:11: Bye Bye [preauth]
sshd[20119]: Disconnected from port 39772 [preauth]
sshd[20121]: Invalid user guest from port 42858

Read the rest of this entry »

Tags: , ,

Postfix and virtual SMTP users

Short how-to use the save virtual users both for receiving emails via IMAPS, and sending via SMTP, or just rants for myself:

Source for the ideas and setup

/etc/postfix/ must contain:
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes

Read the rest of this entry »

Tags: , , ,

Rant on Apache2

Recently I was trying to move my sites to SSL – for various reasons.
The test site went fluently, while the work machine refused to serve SSL content. While testing with ‘wget’, the error I received was

GnuTLS: An unexpected TLS packet was received.

Read the rest of this entry »

Tags: , ,

Get rid of removed packages in Debian

Every time package is removed via `apt-get remove`, a tiny piece of its configuration can be kept in your system. If you ever need to reinstall the package, this information can be re-used. These packages has status ‘rc’ in the output of `dpkg -l`. But if you want to keep your system tidy and clean, you may want them to be removed.

The miraculous command is

dpkg -l | egrep ^r | cut -d ‘ ‘ -f 3 | xargs apt-get remove –purge -y

Read the rest of this entry »


How to start multisite Gallery2 on Debian

I had a little disc and database crash, so the site was not updated recently.

Well, WordPress was updated easily, but i had problems with Gallery2.

I need a multisite deployment of Gallery2. Although it is supported from the installer, some important steps are missing.

In order multisite Gallery2 to work, you will need to add some symlinks to every deployment of the Gallery2:

Read the rest of this entry »

Tags: ,

bnx2: Can’t load firmware file bnx2-06-4.0.5.fw

After migration from 2.6.18-6-amd64, a newly installed kernel 2.6.26-2-amd64 failed to load:

[ 2.871916] Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.7.5 (April 29, 2008)
[ 3.631838] firmware: requesting bnx2-06-4.0.5.fw
Read the rest of this entry »


Make Samba and CUPS in Debian friends again

I’ve seen a lot of these entries in logfiles recently:

[] printing/print_cups.c:cups_job_submit(656)
Unable to print file to - client-error-bad-request

And the printing is stopped, of course.

The solution is simple:

LANG=en_US.UTF-8 /etc/init.d/samba restart

In short:
/var/log/cups/error_log shows a lot of

E [] Unsupported character set "iso-8859-1"!

CUPS requires UTF-8.
In the case of default login in Debian, the console IS in UTF-8, but is not if you have customized it and use `su` for administrative tasks.


Tags: , ,

Netgear WG511 Wi-Fi card in Debian

Long time ago i’ve bought Netgear WG511 PCMCIA WiFi card. It’s version 2, and is supported by prism54 module. the basic info is in jkx page, but at least 3 years have passed 😉

In order to run in Linux, you need:
Read the rest of this entry »

Tags: , , , ,