The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    NoRESInForms

    MPS_5159

    MPS_5158

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,028 other followers

Archive for the ‘*nix’ Category

Relevant files for ssh-keygen – Wikipedia, the free encyclopedia

Posted by jpluimers on 2013/05/13

When working with SSH private/public keys (often because of ssh-keygen), and using DSA for auhtentication, these are the relevant files:

  • $HOME/.ssh/id_dsa:
    (on the local system)
    The $HOME/.ssh/id_dsa file contains the protocol version 2 DSA authentication identity of the user.
  • $HOME/.ssh/id_dsa.pub:
    (on the local system)
    The $HOME/.ssh/id_dsa.pub file contains the DSA public key for authentication when you are using the SSH protocol version 2. A user should copy its contents in the $HOME/.ssh/authorized_keys file of the remote system where a user wants to log in using DSA authentication.
  • $HOME/.ssh/authorized_keys:
    (on the remote system)
    The $HOME/.ssh/authorized_keys file contains authorized DSA public keys (each line is the contents of a $HOME/.ssh/id_dsa.pub file) of users on systems that are auhorized to login on the remote system.

Important:

Be sure to transfer the contents of the local $HOME/.ssh/id_dsa.pub file to the remote system in a secure way.

–jeroen

via ssh-keygen – Wikipedia, the free encyclopedia.

Posted in Power User, *nix, Endian, Apple, Cygwin, OS X Lion, OS X Snow Leopard, OS X Leopard, OS X, Mac, Linux, OS X Tiger, OS X Mountain Lion | Leave a Comment »

Top Ten Mac OS X Tips for Unix Geeks – O’Reilly Media

Posted by jpluimers on 2013/05/06

This 5 year article from 2007 (which was an update for the 2002 version) is still very up to date in 2012: Top Ten Mac OS X Tips for Unix Geeks – O’Reilly Media.

Originally it was to promote Mac OS X for Unix Geeks - O’Reilly Media. In between the updates there was Mac OS X Panther for Unix Geeks, 2nd Edition - O’Reilly Media.

Now it is to promote Mac OS X for Unix Geeks (Leopard), 4th Edition - O’Reilly Media.

Note there is also a nice, but independent presentation with the same title from HTGR-MacOSX.

–jeroen

Posted in Power User, *nix, Apple, OS X Lion, OS X Snow Leopard, OS X Leopard, OS X, Mac, OS X Tiger | Leave a Comment »

New Java update available: patch all your machines for yet another zero-day fix: Security Alert CVE-2013-1493

Posted by jpluimers on 2013/03/05

It starts to be not so funny any more: almost every week a new Java security update.

Time to update again, to stay secure and install the patch: Security Alert CVE-2013-1493.

On the funny side: Java 0day countdown.

–jeroen

via: Security Alert CVE-2013-1493.

Posted in Software Development, Development, Java, Power User, *nix, Windows 7, Windows Vista, Windows XP, Apple, OS X Lion, OS X Snow Leopard, OS X Leopard, Windows 8, Windows, Windows Server 2003, Windows Server 2008, OS X, Windows Server 2003 R2, Windows Server 2008 R2, OS X Tiger, OS X Mountain Lion | Tagged: , , , , | 2 Comments »

openSUSE 12.x: “A plain `halt` will not shutdown the system properly.”

Posted by jpluimers on 2012/12/30

Just noticed that in openSUSE 12.x, A plain halt will not shutdown the system properly.
On my system, it would leave the screen as shown on the right:

Only halt -p works, none of the other hints in the shutdown does not power off thread work, nor the acpi=off or acpi=oldboot settings.

The odd thing: a plain reboot still works properly.

If someone knows a better workaround: please let me know in the comments.

I hope they will fix this in a future openSUSE version; at least for 12.3 they have a “CHECKIT” marker in the documentation:

5.4. systemd: System Shutdown

CHECKIT for 12.3. Is this entry still required?

To halt and poweroff the system when using systemd, issue halt -p or shutdown -h now on the command-line or use the shutdown button provided by your desktop environment.

Note: A plain halt will not shutdown the system properly.

Luckily, my openSUSE is a VM, which I can reboot from the ESXi host.
On a physical system, you will end up without any option to resurrect the system.

Later

After installing antivir, a plain halt works sort of: it says it is halted, but ESXi still thinks it is not:

After installing antivir, a plain halt works.

After installing antivir, a plain halt appears to work, but it doesn’t.

ESXi is sure the system didn't actually power down.

ESXi is sure the system didn’t actually power down.

–jeroen

Posted in *nix, Linux, Power User, SuSE Linux | Tagged: , , , , , , , , , , , , , | Leave a Comment »

namebench – Open-source DNS Benchmark Utility – Google Project Hosting

Posted by jpluimers on 2012/12/17

Interesting: namebench – Open-source DNS Benchmark Utility – Google Project Hosting.

It runs on Mac, Windows and Linux, comes with a GUI and a console version.

–jeroen

Posted in Power User, *nix, Windows 7, Windows Vista, Windows XP, Apple, OS X Lion, OS X Snow Leopard, OS X Leopard, Windows 8, Windows, Windows Server 2003, Windows Server 2008, OS X, Windows Server 2000, Windows Server 2003 R2, Windows Server 2008 R2, OS X Tiger | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 1,028 other followers

%d bloggers like this: