We are now in 2007. Happy New Year for everybody. The time seems running fast.
Let us hope this year will bring us happiness and success.
Let us hope this year will bring us happiness and success.
ServerAdmin testuser@example.com
DocumentRoot /var/www/html/
ServerName www.example.com
ErrorLog /var/log/www.example.com.log
CustomLog /var/log/www.example.com.common.log common
ServerAdmin testuser2@example.com
DocumentRoot /var/www/html/email
ServerName mail.example.com
ErrorLog /var/log/mail.example.com.log
CustomLog /var/log/mail.example.com.common.log common

# Allow Identity Auth for SSH1?
RSAAuthentication yes
# Allow Identity Auth for SSH2?
PubkeyAuthentication yes
# Authorized Keys File
AuthorizedKeysFile ~/.ssh/authorized_keys
$ cd ~
$ mkdir identity-test
$ cd identity-test
$ ssh-keygen -f id_rsa -t rsa
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_rsa.
Your public key has been saved in id_rsa.pub.
The key fingerprint is:
c3:af:e9:6c:2f:19:4d:b5:1a:a9:40:06:54:e6:60:08 me@localhost$ ls
id_rsa id_rsa.pub
The id_rsa.pub contains the public key and id_rsa contains private key.
$ ssh username@server -i ~/identity_test/id_rsa
$username@server$ hostname
$server
$username@server$ exit
$ ssh username@server -i $HOME/identity_test/id_rsa "echo Success!"
Success!
$
route add default gw xxx.xxx.xxx.xxxhosts: files dns winshosts: wins files dns
drwxrwxr-x root staff /home/samba/publicdrwxrwx--- root finance /home/samba/finance/etc/rc.d/rc.samba restartservice smbd restartIf you use nvidia driver for your GPU, you probably wonder why in some config, you can't hotplug your second monitor. You need to reboo...