jeudi 27 mars 2008

ssh authentication on debian

clipped from www.howtoforge.com

How To Set Up SSH With Public-Key Authentication On Debian Etch

Preparations On Our Client (Desktop) System

apt-get install openssh-client


mkdir ~/.ssh
chmod 700 ~/.ssh
cd ~/.ssh

ssh-keygen -t rsa -C "A comment... usually an email is enough here..."

scp -p id_rsa.pub remoteuser@remotehost:

ssh remoteuser@remotehost
mkdir ~/.ssh
chmod 700 ~/.ssh
cat id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
mv id_rsa.pub ~/.ssh
logout

rm id_rsa.pub

ssh remoteuser@remotehost

cd /etc/ssh
cp sshd_config sshd_config.orig
nano sshd_config

/etc/init.d/ssh restart

Be careful: if you disable password authentication, then you won't be able to log in with passwords! Only key-based authentication will be available!

 blog it

jeudi 20 mars 2008

Un petit potager

clipped from frugaldad.com


How to Build a Square Foot Garden

Watering the Garden

(2) 2cu ft. bags of Miracle Grow Garden Soil (for flowers and vegetables) - $13.54
There were more frugal recipes here for soil, such as 1/3 compost, 1/3 peat moss, and 1/3 vermiculite. However, I could not find the ingredients packaged locally and the individual ingredients bought separately at the larger home improvement stores were more expensive the bags of Miracle Grow.

 blog it

vendredi 14 mars 2008

Fix desynchro with vlc

clipped from lifehacker.com


If you've spent hours ripping a DVD or downloading a video just to find—when all's said and done—that the audio and video aren't matching up, reader Will suggests using video-Swiss-Army-knife VLC's desynchronization feature to sync up the audio.

In the VLC Preferences, click on Audio and then tick the Advanced options checkbox; there is an Audio desynchronization compensation setting that allows you to set a positive or negative time delay between the video and audio tracks in milliseconds. I find unsynchronized video/audio unbearable, and have been known to delete files without watching them for it. It never occurred to me that there would be such a simple solution!

Fix Desynchronized Video and Audio with VLC

 blog it