RSS2.0

Saturday, April 26, 2008

SSH Without A Password:

SSH Without A Password:

If you use Linux for day-to-day computing, you likely use the secure shell, or ssh. If you are like me, you may grow weary of constantly having to type in passwords to access remote machines. Or maybe you have the perfect backup system, except that it uses ssh to transfer files, and requires you to type in a password (such as rsync or rdiff-backup). There is a way to access those machines without using a password. This technique should be used with care. I’d use it only on machines that I have access to, for example. You don’t want to set up passwordless access from a public machine to your production server, in other words. Use with caution.

The principle is that you generate a public and private key on the local machine. This will be whatever machine you are connecting from. You then transfer the public key to the remote machine. Then, when you ssh into the remote machine, it uses the keys to authenticate. You don’t type in a password, it just takes you straight to the shell prompt. How do we set this up?

Log into the machine you are going to connect from. Let’s say that your account is called ‘user’ and you are going to connect from a machine called ‘desktop’. Log in as ‘user’ on the ‘desktop’ machine and pull up a shell. Run this command. The stuff in red is what you do,not what you type:

[0218][user@desktop:~]$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_dsa): [JUST PRESS ENTER HERE]
Enter passphrase (empty for no passphrase): [JUST PRESS ENTER HERE]
Enter same passphrase again: [JUST PRESS ENTER HERE]
Your identification has been saved in /home/user/.ssh/id_dsa.
Your public key has been saved in /home/user/.ssh/id_dsa.pub.
The key fingerprint is:
a5:25:c0:aa:fe:f3:9f:46:7a:23:e3:6e:10:ec:6f:d3 user@desktop
[0218][user@desktop:~]$

Your keys are generated. On that machine, view /home/user/.ssh/id_dsa.pub. You will see something like this:

ssh-dss AAAAA3NzAC1kc3MAAACAANfnr9xkAks2u8Xd5I9nozzsXLKCYA8o9h3cMwL5QMcZGxz84Dyl3IyRwozv3I2xGwJAYyAHvJAS7AQmtFXtfmQts3dt2ZnlAmKj0TkC8pwDgvXJYzARJpCP2Zx7iwD/OCO3sTgT0wGwYtQrAcTeW5Tt6sSmQjEJ2rJj+Q5XA1xvAAAAFQDWcQ+OJRnk+jCYqESWqxHcyw74DwAAAIA9qAQyZrOJkjpzMSWAcliHvvuyCN8RInlgq+IwWynukOX7zYXcE2dJPopgpG3Aiiq/fxAQX5dUzXfSrL3KYftQOd/RNkAzMHAAzAJeQAA0wEt4uAjhGRwCOSg6wKMYJPYfVghnwIKARuSTUS8NjRXVKteHg7frOOHZwRGIm36pxgAAAIA8/CKLLn5QRctsvvvmvpOn2Xhek02z8K0YukYcXJOQ1FMTYWoHujA39sEAFsdx6Nq1t58lI2dsj6fpf7LOOvoYWtKQnTNRUptlOx27LTO9Q6DhKPV/93nLI/xFOFo/8twZ1TmpAgpAI3SQ9YCnX2A8H686OUwUPmY0kA+H8GKnug== user@desktop

What you need to do now, is determine the remote machine you are going to log into. Then, decide what user you are going to log in as on that machine. We are going to log in as a user called ‘admin’ on a server called ’server’. First, we will ssh into ’server’ as ‘admin’. Then, edit the file located at ~/.ssh/authorized_keys2. If it is not there, create it. All you need to do is paste the contents of the id_dsa.pub file from the ‘user’ account on the ‘desktop’ machine into the ~/.ssh/authorized_keys file for ‘admin’ on ’server’.

For example:

I go to my desktop, log in as ‘user’. I run ’ssh-keygen -t dsa’. It generates a ~/.ssh/id_dsa.pub file in my home directory.

I want to connect as ‘admin’ on a box called ’server’. I ssh in normally as ‘admin’ into the ’server’ machine. I edit the ~/.ssh/authorized_keys2 using my favorite text editor. I add the contents of the ~/.ssh/id_dsa.pub file from my desktop machine into the authorized_keys2 file on ’server’. I then save and quit. I then close all connections to ’server’. Then, I type ’ssh admin@server’, and hit ENTER. It drops me straight to a shell prompt.

This is a nice way to access a machine without having to type in the password every time. Only do this from machines that only you or authorized personnel have access to. Otherwise, you could have a li’l security problem.

Article Source: http://www.suseblog.com/?p=318

Friday, April 25, 2008

Hidden KDE Options and Features

The K Desktop Environment is a free project which aims to be a powerful system for an easy-to-use desktop environment. The project well suits both regular and advanced users due to its wide range of functions and applications which can be customized through GUIs. There are, however, some of them for which no GUI exists, providing users with some fe

read more | digg story

Thursday, April 24, 2008

Switching IO Schedulers on runtimewith the io schedulers fully modular, it is possible to add a new io scheduler type without touching the core kernel at all

This explains how to change the IO-Scheduler used by your linux kernel without recompiling the kernel and without restart. Switching IO Schedulers on runtime. With the io schedulers fully modular, it is possible to add a new io scheduler type without touching the core kernel at all.

read more | digg story

Get Rid of Dead Pixels on Your Flat Screen / LCD Monitor

Have dead pixels on your LCD screen? Think there's no way to get rid of them? Think again... It's easier than you think :) This method works as I just tried it with an LCD screen that's had dead pixels for months now and I was about to junk it and get a new one when I found this video. Hope this helps everyone get rid of their dead pixels :)

read more | digg story

Linux tutorials and technical how-to information

EXCELLENT !!! - Linux tutorials and technical how-to information. This is a very good linux tutorial website :) Lots of good information. There will also be lots of good Linux related information posted on this blog. Don't forget to bookmark this page now and keep checking back for updates or subscribe... the choice is yours :) If anyone would like my personal assistance with linux at no fee, please post comments on this blog and let me know. I will let you know how/when to contact me.-jtrag

read more | digg story

1.fm - The Music Starts Here - The Best Rock/Alternative

The best Rock / Alternative internet ( shoutcast ) radio station there is... I listen to it (and my personal collection) all the time. Enjoy :PLater guys!-jtrag

read more | digg story

Wednesday, April 23, 2008

Collection of Very Useful Linux Web Site Links.

Use this set of bookmarks to help you learn more about Linux in general, and openSUSE in particular:

. http://www.ibm.com/linux—This is the Linux portal at IBM, which has news,
reports, and white papers related to this important Linux player. Check the SUSE
Linux link under “Linux Distributors” for material related to IBM support for SUSE
Linux products.
. http://en.opensuse.org—This is the English-language home of the openSUSE project.
Download the latest version for testing and use. Sign up for a mailing list and
contribute to the openSUSE wiki. For other languages, start at
http://www.opensuse.org.
. http://www.novell.com/linux—This is the English-language home of openSUSE’s
commercial siblings, SUSE Linux Enterprise Server and Desktop. It offers news,
downloads, and support.
. http://en.opensuse.org/SDB:SDB—This is a direct link to the openSUSE support data-
base.
. http://www.namesys.com—Learn about the ReiserFS file system here.
. http://www.tldp.org/—This is the Linux Documentation Project. This is where to go
for general Linux questions and to learn about many of the applications included in
your openSUSE distribution.
. http://www.linux.org/groups —This is Linux Online’s global list of Linux User Groups.
. http://www.google.com/linux—This is The Google Linux-specific search page.
. http://linuxgazette.net/—The Linux Gazette, “making Linux just a little more fun,” is
oriented toward new Linux users. Ask The Answer Gang your question.
. http://linuxjournal.com—The Linux Journal is the oldest monthly print magazine
covering all things Linux. Most of the archives are available only to subscribers, but
there’s much valuable content for everyone on the site.
. http://www.linux-mag.com—This is the US-based Linux Magazine. Print articles
appear online 60 days after its release. They have weekly email newsletters too.
. http://searchenterpriselinux.com—This site is focused on enterprise Linux, but is still
a good resource for Linux news.
. http://www.linuxpromagazine.com—This is the Germany-based Linux Magazine, a
print magazine featuring a monthly distribution disk.
. http://www.lwn.net—This is Linux Weekly News, one of the oldest sources of Linux
news online.
. http://www.newsforge.com—This is “the online newspaper for Linux and Open Source.”
. http://www.tech.groups.yahoo..com/group/opensuse-users—This is the SUSE Users
Yahoo Group page.
. http://distrowatch.com—News and information on hundreds of Unix distributions,
including openSUSE.
. http://bugzilla.novel.com—The SUSE Linux bug database.

Feel free to post any other links you would like to add to this list :)

-jtrag

Why Use Linux?

More than a decade has passed since Linus Torvalds put his operating
system code on the Internet, and millions have been putting Linux to good use.
It’s been a while since Linux was viewed as a “toy operating system” used only by
geek computer hobbyists. Big corporations, colleges, governments, school districts, nonprofit organizations, and everyday users are all turning to Linux to boost productivity at a low cost. If you’re still thinking about whether to join them, here are a few good reasons:
  • Linux puts you in control of your
    computing environment. Although much of the buzz around
    “free software” revolves around cost (and
    we’ll get to that argument in abound in the Linux
    space. If you’re not happy with the way one application
    works, there’s usually something else out there that
    can make you happy. Most applications are a lso endlessly
    customizable, so if there’s an annoying feature included
    as default, you can always turn it off or modify its
    functioning.

  • Linux is inexpensive to install,
    run, and update. Unlike proprietary operatin systems, you can
    take the DVD from this book and install openSUSE on as
    man computers as you need to. Configure Linux individually for
    your file server routers, web servers, and desktops. All
    these systems will run crash-free with little maintenance required and
    (if you like) automated updates that don’t even need user
    intervention to install.

  • Linux is ready for the desktop.
    Nearly everything you can do on a Windows machine can be done on
    openSUSE, from creating professional office documents and
    presentations to getting files on the Internet. It’s also not
    that hard to get used to after you’ve made the
    switch. When Grandma is running Linux, she’s less
    likely to see error messages and crashing programs, too.

  • Linux is a rock-solid server
    performer. The operating system (OS) made its first impression as a
    fast, secure, stable, scalable, and robust server OS. The current
    kernel easily handles multiprocessor machines, gigabytes of
    system memory, and terabytes of data. Most enterprise-level
    applications have Linux versions. Although this bookdoes not cover the
    Novell Open Enterprise Server (OES), openSUSE serves as a
    proving ground for new enterprise applications to be included in OES.

  • Linux thrives in a variety of environments.
    Linux drives many personal digital assistants, laptops, desktops, and
    specialized computers. You can put your ancient 486 processor to work
    as a router or file server with openSUSE. It also runs on AMD 64-bit
    Opteron processors, and did so for a year before 64-bit Windows XP was
    released.

  • Linux offers a royalty-free development
    platform for several operating systems. Because of the
    open-source development model and the high-quality, free tools
    available to developers, anyone from 13-year-old budding programmers to
    massive development shops can produce quality software relatively
    inexpensively.

  • Linux now offers big player support. Although
    the Linux community is still the best place to go for support when
    things go wrong, the presence of IBM, Novell, and other big companies
    in the support space can make even the most uneasy bean counter relax a
    little.

These are just a few good reasons to use linux. I was a previous windows user, until I learned how easy linux is to use, and how much help there is out there if you need it. Windows users, don't be afraid to make the switch to linux. You could do like I did, and start with a dual boot system that had Linux and windows on it. That way, if you want to use windows, you just boot to windows. If you want to use Linux, you boot to linux. I will be posting a tutorial regarding dual boot windows/linux systems on this blog very soon. Bookmark this blog and check back frequently.

By the way, openSUSE Linux and Ubuntu Linux are excellent for beginner users all the way up to advanced users. They are both good distros to start with if you are new to Linux.

-jtrag

Thursday, April 10, 2008

KDE4 - How to Install latest development version on your Linux PC, from source code.


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. Qt® and Trolltech® are registered trademarks of Trolltech ASA. Linux® is a registered Trademark of Linus Torvalds. |Legal

OpenSuse 10.3 KDE 4 Vista 3D 2 running Compiz Fusion

OpenSuse 10.3 KDE 4 Vista 3D 2 running Compiz Fusion

read more | digg story

openSUSE 10.3 Installation Video Part2

openSUSE 10.3 Installation Video Part2

read more | digg story

openSUSE 10.3 Installation Video Part1

Here is part1 of the openSUSE 10.3 Installation Video.

read more | digg story

opensuse 10.3 + Compiz Fusion

Here is an example of Opensuse 10.3 running Compiz Fusion. Who says can't look good AND work good at the same time?

read more | digg story

openSUSE 11.0 Beta 1

openSUSE 11.0 Beta 1 Release - Here you can comment on the upcomming release of openSUSE 11.0 Beta 1

read more | digg story

openSUSE-Education 1.0 RC2 for openSUSE 10.3 is Ready

With RC2 for openSUSE 10.3 the openSUSE-Education project starts the last testing phase before we release the final version of openSUSE-Education 1.0 for openSUSE 10.3. At this point, the only things left for the release is fixing possible bugs in the current packages and working on the documentation.

read more | digg story