See How to Disable Password Authentication for SSH.
vim /etc/ssh/sshd_config
Then:
ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no
Then restart the SSH server:
service sshd restart
See How to Disable Password Authentication for SSH.
vim /etc/ssh/sshd_config
Then:
ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no
Then restart the SSH server:
service sshd restart
To specify a port range for DCC:
/set dcc_port 6000 7000
Make sure your NAT router has DMZ or port forwarding for the nominated ports and that your firewall has those ports open.
Your config file will look like this:
jj5@honesty:~/.irssi$ grep -R 6000 .
./config: "irc/dcc" = { dcc_port = "6000 7000"; };
Use the ‘source’ command:
mysql> source path/to/file.sql
Check out Web Developer’s Toolbox…
On Debian Jessie (testing) the default ‘Send as Email Attachment’ context menu item uses KMail, and only KMail, even if you’ve configured your desktop to use Icedove (Thunderbird) as your default mail client.
So you can remove the broken ‘Send as Email Attachment’ from Dolphin by opening Dolphin then:
Settings -> Configure Dolphin… -> Services -> uncheck ‘Send as Email Attachment’
Then to create a replacement feature that uses Icedove edit:
~/.kde/share/kd4/share/icedove_attachment.desktop
And enter:
[Desktop Entry] Type=Service Actions=attachToEmail Encoding=UTF-8 ServiceTypes=KonqPopupMenu/Plugin,all/allfiles ExcludeServiceTypes=application/x-iso,kdedevice/*,inode/directory [Desktop Action attachToEmail] Exec=icedove -compose "attachment='$(echo %F | sed 's/\\ \\//,\\/\\//g')'" Name=Attach to Icedove Name[it]=Invia E-mail con Icedove Name[es]=Enviar adjunto con Icedove Name[de]=Als Anhang mit Icedove verschicken Name[pt]=Anexar ao Icedove E-mail Name[pt_BR]=Enviar arquivo(s) como anexo(s) Name[fr]=Envoyer avec Icedove Name[nl]=Voeg toe als bijlage aan Icedove Name[pl]=Wyślij jako załącznik Icedove Name[ru]=Отправить с помощью Icedove Name[cz]=Odeslat jako přílohu Icedove Icon=/usr/lib/icedove/chrome/icons/default/default16.png
And make sure your .desktop file is executable:
$ chmod +x ~/.kde/share/kd4/share/icedove_attachment.desktop
Today I learned about Fetch as Google. Haven’t used it yet, though.
See here for details.
See here for a list of US time zones.
Eastern ........... America/New_York Central ........... America/Chicago Mountain .......... America/Denver Mountain no DST ... America/Phoenix Pacific ........... America/Los_Angeles Alaska ............ America/Anchorage Hawaii ............ America/Adak Hawaii no DST ..... Pacific/Honolulu
Check out Ubuntu’s Release Plan Details…
Found Using Multiple SSL Certificates in Apache with One IP Address today. Basically:
<NameVirtualHost *:443> <VirtualHost *:443> ServerName www.yoursite.com DocumentRoot /var/www/site SSLEngine on SSLCertificateFile /path/to/www_yoursite_com.crt SSLCertificateKeyFile /path/to/www_yoursite_com.key SSLCertificateChainFile /path/to/DigiCertCA.crt </Virtual Host> <VirtualHost *:443> ServerName www.yoursite2.com DocumentRoot /var/www/site2 SSLEngine on SSLCertificateFile /path/to/www_yoursite2_com.crt SSLCertificateKeyFile /path/to/www_yoursite2_com.key SSLCertificateChainFile /path/to/DigiCertCA.crt </Virtual Host>