Sunday, 20 September 2015

SSH keygen, a must have skill for Linux users

SSH keygen, a must have skill for Linux users

Hopefully, if you've been reading my stream for any length of time, you've been encouraged to learn some command line skills. As you learn the power of the CLI, you'll no doubt eventually end up with more than one Linux or Unix like device on your network (for example a few Raspberry Pi based media centre's). Once that happens, being able to access those systems in s secure yet convenient way becomes a handy tool. That's where SSH keygen comes in. This will allow you to access the devices on your network via the command line without having to type a password every time. You can also adapt this tutorial to add SSH keys to remote SSH apps on other platforms like ConnectBot on Android or PuTTY on Windows.
http://freedompenguin.com/articles/just-ask-matt/how-to-setup-ssh-keys-on-a-linux-system/

Monday, 14 September 2015

OK, so you're using Linux, now what?

OK, so you're using Linux, now what?
Well now it's time to put on your big kid pants and learn the command line

Isn't the command line for old guys and people that fear change?
Nope. The command line is where the real power, control, and yes speed of any Unix like OS lies, and even many non Unix base OS's have a lot waiting for you on the command line.
Think of it this way, why do you still text your friends when you can video chat?? Are you backwards and stupid? Of course not. Every medium has it's uses and advantages. For example, in the time it takes to fire up your Hangouts, Skype, Facetime, etc. and get your friend to answer, you can have already sent all the relevant and necessary information to them in a text.
It's the same with the command line. By the time you get the file manager open, browse for all the files you just downloaded, CTRL-click them all, CUT, go to the folder you want them in, PASTE, and wait for the move to happen, you could have done it already from the command line.
So yes, sometimes the command line is faster and or easier. Other times it's just plain the only way to get at certain powerful features or configuration settings.
Anyway, the point is that you should get to know the command line and learn to use it. Don't think of it as an archaic hassle, think of it as being in an elite club of people that knows how to get things done. The kind that in the real world, know the right people, and the right places to get things done without waiting in lines and dealing with red tape. 

Personally, I always leave a KDE Konsole window open on my desktop, and in it I have multiple command line tabs always open. One su to root so I can do admin tasks quickly, and one as my regular user, sitting in each of the directories I frequently work in. Eg. my Downloads, my Documents, one to ssh into my server, one to rsync files between network locations, etc.

#Linux   #Sysadmin  
https://www.maketecheasier.com/online-resources-for-learning-the-command-line/

Thursday, 27 August 2015

Use packages from other Linux distributions easily with Alien

Use packages from other Linux distributions easily with Alien

Sometimes you come across a Linux application you've just got to have, but unfortunately, the developer only builds for a different Linux platform than you use. Well don't give up, or worse switch platforms, over one application. Just use Alien to morph that package into one your Linux distro can use.
A common situation would be applications developed for Ubuntu and derivatives. If you are using an RPM based Linux, like Fedora, RedHat, or SUSE, then you'll need to find the .deb version of the package and use Alien to make an RPM. 
Here's how.

#Linux   #Sysadmin  
http://www.tecmint.com/convert-from-rpm-to-deb-and-deb-to-rpm-package-using-alien/

Friday, 22 May 2015

How-to: Using Google two factor authentication with ssh on your Linux box

How-to: Using Google two factor authentication with ssh on your Linux box

Two factor authentication is a great way to increase the security of your accounts. Google offers it for your Google accounts and now you can use it to secure your Linux box. How cool is that?

Note that while this tutorial is based around CentOS, it should be simple to apply to most Linux distributions with little modification.

For more info, here is a video on using two factor authentication with your Google account.
https://youtu.be/zMabEyrtPRg

I suggest installing the Google Authenticator app.

#Linux   #Security   #Google   #SSH  
https://www.howtoforge.com/tutorial/secure-ssh-with-google-authenticator-on-centos-7/

Tuesday, 4 November 2014

Does Qubes demonstrate the future of desktop computing?

Does Qubes demonstrate the future of desktop computing?

Every SysAdmin knows that users do stupid things and that the all the training and policies in the world can't replace good idiot-proofing.
One common example happens when users browse questionable websites in one window while browsing their locally stored corporate financial info in another window. The security breaches they open can allow serious data leaks. Qubes takes the approach of isolating tasks instead of trying to modify user behaviour. By virtualizing each task from the other, these types of security issues are drastically reduced.

#Linux   #Security   #Windows   #SysAdmin  
http://www.linuxinsider.com/story/Security-Minded-Qubes-OS-Will-Satisfy-Your-Yen-for-Xen-81282.html