Monday Mar 31, 2014

Oracle Linux Training At Your Own Pace

You can now take the highly popular Oracle Linux System Administration course at your own pace with the release of the Training-on-Demand delivery format.

With the Training-on-Demand delivery format, you can:

  • Start training within 24 hours of registering
  • Follow lectures through streaming video at your own pace
  • Schedule time on a lab environment to suit your schedule

This course is also available as live-virtual events, for those who want to attend a live event from their own desk, or in-class events, for those who want to travel to an education center.

The Oracle Linux System Administration course is the recommended training for those who want to prepare for the Oracle Linux 5 and 6 System Administrator certification exam.

To register for an event, or more information about the Oracle Linux curriculum, go to http://education.oracle.com/linux.

Wednesday Mar 19, 2014

New Oracle Linux System Administration Training Released

The very popular Oracle Linux System Administration course is now even better bringing you more hands-on learning opportunities and on the latest version of Oracle Linux.

This five-day instructor-led course covers a range of skills including installation, using the Unbreakable Enterprise Kernel, configuring Linux services, monitoring, preparing the system for the Oracle Database, and valuable hints and tips for troubleshooting your system. 

You can take this course through the following delivery methods:

  • Live-Virtual Events: Attend a live class from your own desk, no travel required. Choose from a selection of events on the schedule to suit different timezones.
  • In-Class Events: Travel to an education center to attend an event. Below is a selection of the events already on the schedule.

 Location

 Date

 Delivery Language

 Melbourne, Australia

 19 May 2014

English

 Sydney, Australia

 12 May 2014

English

 Zagreb, Croatia

21 July 2014 

Croatia 

Cairo, Egypt 

23 March 2014 

English 

Reading, England 

12 May 2014 

English 

Paris, France 

6 October 2014 

French 

 Athens, Greece

 23 June 2014

 English

 Milan, Italy

 31 March 2014

Italian

 Nairobi, Kenya

 14 April 2014

 English

 Kuala  Lumpur, Malaysia

 21 April 2014

 English

 Petaling Jaya, Malaysia

 21 April 2014

 English

 Lagos, Nigeria

 2 June 2014

 English

 Makati City, Philippines

 21 April 2014

 English

 Warsaw, Poland

 9 June 2014

 Polish

 Bucharest, Romania

 14 April 2014

 Romanian

 Bangkok, Thailand

 26 May 2014

 English

 Tunis, Tunisia

 31 March 2014

 French

 Istanbul, Turkey

 16 June 2014

 Turkish

 Irvine, CA, United States

 12 May 2014

 English

 San Francisco, CA, United States

 9 June 2014

 English

 Atlanta, GA, United States

 16 June 2014

 English

 Chicago, IL, United States

 14 April 2014

 English

 Roseville, MN, United States

 19 May 2014

 English

 Columbus, OH, United States

 14 April 2014 

 English

 Caracas, Venezuela

 24 March 2014

 Spanish

This course is the recommended training for the Oracle Linux 5 & 6 System Administrator Oracle Certified Associate Exam.

To register for a course event, request an additional course event, or learn more about the Oracle Linux curriculum, go to http://oracle.com/education/linux.

Friday Feb 28, 2014

Friday Spotlight: Accelerating MySQL on Oracle Linux with Flash

Happy Friday!

Our spotlight this week is on a brand new white paper that can help you get the most out of MySQL running on Oracle Linux, with the help of Oracle's Sun Flash Accelerator F80 PCIe card. To give you an idea of the Oracle Linux part of this, here is an except from the paper's intro:

"Oracle Linux with Unbreakable Enterprise Kernel (UEK) was chosen for this study for several key reasons including its upstream support for the latest hardware relevant to modern data center operations, and SSD support and performance features such as SSD detect. In addition, MySQL database workloads benefit from the platform’s deep integration with the solution stack, optimizations resulting from industry collaborations and enhancements in the UEK.

Read the white paper "Performance Advantages of Running an Oracle MySQL Replicated Database on Oracle Linux with Oracle’s Sun Flash Accelerator F80 PCIe Card"

We'll see you next week!

-Chris 

Tuesday Feb 25, 2014

The February '14 Oracle Linux Newsletter is Out!

The February 2014 edition of the Oracle Linux Newsletter is now available! This issue has some fantastic stories on OCFS2, Ksplice, using Oracle Database with Oracle Linux, new customer success stories, and much more!

You can read the latest edition online right now, or subscribe to have future issues delivered straight to your inbox! 

-Chris 

Friday Feb 21, 2014

Friday Spotlight: Vitual Sysadmin Day and Hands On Labs

Happy Friday!

If you missed Virtual Sysadmin Day last month, it is available in replay mode. It's not quite the same as the real-time environment where you could ask questions, but you do get recorded versions of the presentations that were given to give you some extra context for working through the Hands On Labs. Also, if you are in EMEA friendly time zones, there is a second live Virtual Sysadmin Day coming up on March 18. You can register here.

Speaking of Hands On Labs, the ones from Virtual Sysadmin Day are hosted on a Wiki page here. But the really cool thing is there are several additional Hands On Labs there that you can work through, too. So, if you're in the mood to learn a lot more about Oracle Linux administration, have a look and see what interests you.

Have a great week!

-Chris 

Tuesday Feb 18, 2014

Proving and Extending Your Oracle Linux Expertise

If you feel you have a good level of hands-on experience and Linux system administration knowledge, prove this by taking the Oracle Linux 5 & 6 System Administrator Oracle Certified Associate exam. In this exam, you will get 150 minutes to attempt 111 multiple choice questions. To reinforce your exam preparation you can take the Oracle Linux System Administration training course.

To go to the next level of system administration expertise, learn about advanced Oracle Linux featues by taking the Oracle Linux Advanced System Administration course. In this 3 day, instructor-led course you will discover how to take advantage of Btrfs to improve system performance and to use Linux containers to increase your resource utilization by creating secure isolated environments on a single host.

You can take this course as a:

  • Live-Virtual Event: Take this course from your own desk - no travel required. Choose from a selection of events on the schedule to suit different timezones.
  • In-Class Event: Travel to an education to take this course. Below is a selection of the events already on the schedule.

 Location

 Date

 Delivery Language

 Melbourne, Australia

 13 March 2014

 English

 Sydney, Australia

 13 August 2014

 English

 Jakarta, Indonesia

 12 May 2014

 English

 Kuala Lumpur, Malaysia

 9 June 2014

 English

Lagos, Nigeria 

 26 May 2014

 English 

 Istanbul, Turkey

 17 March 2014

 Turkish

 Edison, NJ, United States

 28 May 2014

 English

 Irving, TX, United States

 16 April 2014

 English

 Caracas, Venezuela

 24 February 2014

 Spanish

To register for this course, request an additional event or learn more about the Oracle Linux curriculum, go to http://oracle.com/education/linux.

Friday Feb 14, 2014

Friday Spotlight: Upcoming In Person Events In EMEA

Happy Friday!

The team in EMEA has put together some wonderful in person events for potential or existing Oracle VM and Oracle Linux customers. In these events, there are expert presentations, and then time to mingle and chat with the Oracle folks. It's really a great opportunity to get your questions answered firsthand. If you live near any of these cities, consider registering for the events!

Feb 18, Munchen, Germany
Register Now

Feb 19, Dreieich, Germany
Register Now

Feb 24, Riyadh, Saudi Arabia
Register Now

Feb 25, Istanbul, Turkey
Register Now

Feb 26, Berlin, Germany
Register Now

Mar 6, Paris, France
Register Now

If you're anywhere near these cities, you won't want to miss these fantastic events.

We'll see you next week!

-Chris

Friday Feb 07, 2014

Friday Spotlight: OCFS2 Best Practices Guide

Happy Friday!

Our spotlight this week is on a brand new white paper, "OCFS2 Best Practices Guide". In this paper, Oracle's Robert Chase describes in detail how to get the most from OCFS2 in Oracle Linux.

Read OCFS2 Best Practices Guide.

We'll see you next week!

-Chris 

Friday Jan 24, 2014

Friday Spotlight: Maximizing Oracle Linux Performance

Happy Friday!

Our spotlight this week is on a fantastic screencast video by Oracle's Greg Marsden. In the video, Greg covers a number of specific tips to help maximize performance of your Oracle Linux deployment. Give it a watch by clicking below:

See you next week!

-Chris 

Wednesday Jan 22, 2014

Get Trained on the Most Modern and Reliable Linux - Oracle Linux

Oracle Linux brings you the latest innovations and is the best performing, most modern Linux operating system. So why not develop your system administration skills with Oracle Linux training.You can take the training from your own desk through live-virtual events or during in-class events for which some scheduled classes are listed below.

Oracle Linux System Administration

In this 5-day live instructor-led course you will learn how to:

  • Configure systems to use UEK and enable kernel features
  • Keep systems up-to-date using the Unbreakable Linux Network 
  • Apply kernel updates on a running system with Ksplice 
  • Prepare Oracle Linux systems to run the Oracle Database
  • And much more ... 

 Location  Date  Delivery Language
 Melbourne, Australia
 19 May 2014
 English
 Perth, Australia
 10 February 2014
 English
 Sydney, Australia
 12 May 2014
 English
 Mississauga, Canada  24 February 2014
 English
 Ottawa, Canada
 28 April 2014
 English
 London, England
 24 February 2014
 English
 Manchester, England
 27 January 2014
 English
 Reading, England
 12 May 2014
 English
 Bordeaux, France
 10 February 2014
 French
 Athens, Greece
 10 February 2014
 English
 Jakarta, Indonesia  10 March 2014
 English
 Milan, Italy
 31 March 2014
 Italian
 Rome, Italy
 10 February 2014
 Italian
 Seoul, Korea
 3 March 2014
 Koren
 Kuala Lumpur, Malaysia  21 April 2014
 English
 Petaling Maya, Malaysia  21 April 2014
 English
 Makati, Philipinnes  24 February 2014
 English
 Warsaw, Poland
 9 June 2014
 Polish
 Lagos, Nigeria
 2 June 2014
 English
 Bucharest, Romania  14 April 2014
 Romanian
 Ljubljana, Slovenia  2 June 2014
 Slovenian
 Johannesburg, South Africa  17 February 2014
 English
 Bangkok, Thailand
 24 February 2014
 English
 Tunis, Tunisia  31 March 2014
 French
 Istanbul, Turkey  17 February 2014
 Turkish
 Belmont, CA, United States  10 February 2014
 English
 Irvine, CA, United States  12 May 2014
 English
 Chicago, IL, United States  14 April 2014  English
 Roseville, MN, United States  10 Feb 2014  English
 Edison, NJ, United States  10 March 2014  English
 Columbus, OH, United States  14 April 2014  English
 Caracas, Venezuela  10 March 2014  Spanish
When you have taken this course and acquired hands on experience with Oracle Linux, consider proving your skills by taking the new Oracle Linux 5 and 6 System Administrator certification exam.

Oracle Linux Advanced System Administration

In this 3-day live instructor-led course you will learn to use:

  • Btrfs to improve file system performance
  • DTrace, which provides a comprehensive look into the software stack and enables you to identify performance bottlenecks
  • The Oracle Cluster File System which provides a high performance and high availability file system when you need a redundant environment
  • New technologies such as Linux Containers
  • And much more ...

 Location  Date  Delivery Language
 Melbourne, Australia
 12 March 2014
 English
 Sydney, Australia
 13 August 2014
 English
 Jakarta, Indonesia  13 May 2014
 English
 Seoul, Korea
 17 February 2014
 Korean
 Kuala Lumpar, Malaysia  9 June 2014
 English
 Lagos, Nigeria  26 May 2014
 English
 Taipei, Taiwan  22 January 2014
 Traditional Chinese
 Istanbul, Turkey
 17 March 2014
 Turkish
 Roseville, MN, United States
 17 February 2014
 English
 Edison, NJ, United States  28 May 2014
 English
 Irving, TX, United States  16 April 2014  English
 Reston, VA, United States  17 Feb 2014  English
 Caracas, VE, United States  24 February 2014  English

To register for an event, request an additional event or to learn more about the Oracle Linux curriculum, go to http://oracle.com/education/linux.

Friday Jan 17, 2014

Friday Spotlight: Virtual Sysadmin Day Winter 2014

Happy Friday! Our Friday Spotlight today is a bit unique in that we're putting the same information on both the Oracle Virtualization blog and the Oracle Linux blog. The reason is that we want to tell you about a fantastic opportunity for Oracle VM and Oracle Linux administrators.

On January 28, Oracle is hosting an event called Virtual Sysadmin Day. If you haven't attended one of these before, you're in for a treat. These events let you attend a virtual version of the hands on lab sessions that we run each year at Oracle OpenWorld. So, if you've ever wanted to go to one of those sessions but couldn't get to San Francisco or the other Oracle OpenWorld locations around the world, now is your chance to attend from the comfort of you desk!

The format is really cool. The materials for the lab are provided for you, you just need to have Oracle VM VirtualBox (it's a free download), and download the pre-configured virtual machines for the labs. You should do this ahead of the event, but all the information to help you do it is available to you when you register.

On the day of the event, you login and watch some intro content that sets up the labs, and then you follow the steps for the labs on you own system. Oracle experts will be in the chat area to help with issues you might run into.

Virtual Sysadmin Day Winter 2014
January 28, 2014
9AM - 1PM Pacific Standard Time

Register Now

Virtual Sysadmin Day is one of my favorite events, I hope you have time to check it out! 

-Chris 

Monday Dec 02, 2013

Three Weeks Remain to Take the Beta Oracle Linux OCA Exam

Thousands of people have testified to the value of the Oracle Certification Program as follows:

  • 97% said they have benefited from certification.
  • 96% would recommend the program to a professional colleague.
  • 89% said they gained more confidence in their Oracle expertise after becoming certified.

You have until December 21st to take the new Oracle Linux 5 & 6 System Administrator OCA Certification exam in its beta form. During the beta phase, you get a fully fledged certification at a much reduced price, for example $50 in the United States and 39 euros in the euro zone.

To see what is covered in this exam, look at the Exam Topics on the certification page.

For information about the Oracle Linux curriculum, go to http://oracle.com/education/linux.

Tuesday Nov 19, 2013

Learn to Install, Configure, Maintain, Update, and Secure Linux

Linux system administration skills are much sought after in the workplace. To take full advantage of the innovations, performance and scalability of Oracle Linux while building your system administrator knowledge, taking training from the experts.

You can attend live, instructor-led training from your own office through live-virtual classes, choosing from a selection of events on the schedule to suit different timezones.

Alternative, you can travel to an education center for an in-class event. Below is a selection of the in-class events already on the schedule.

In the 5-day Oracle Linux System Administration course, you learn how to install, configure, maintain, update and secure Linux.

 Location

 Date

 Delivery Language

 London, England

 16 December 2013

 English

 Manchester, England

 27 January 2014

  English 

 Reading, England

 12 May 2014

  English 

 Milan, Italy

31 March 2014

 Italian

 Rome, Italy

 10 February 2014

 Italian

 Warsaw, Poland

 9 June 2014

 Polish

 Bucharest, Romania

 20 January 2014

 Romanian

 Ankara, Turkey

 12 January 2014

 Turkish

 Istanbul, Turkey

 16 December 2013 

 Turkish

 Casablanca, Morocco

 16 December 2013

 English

 Muscat, Oman

 2 March 2014

 English

 Johannesburg, South Africa

 17 February 2014

 English

 Tunis, Tunisia

 31 March 2014

 French

 Jakarta, Indonesia

 9 December 2013

  English 

 Kuala Lumpur, Malaysia

 25 November 2013

 English

 Makati City, Philippines

 9 December 2013

 English

Singapore 

 25 November 2013

  English 

 Bangkok, Thailand

 24 February 2014

 English

 Melbourne, Australia

 16 December 2013

 English

 Sydney, Australia

 30 January 2014

 English

Mississauga, Canada

 24 February 2014

 English

 Ottawa, Canada

 28 April 2014

 English

 Belmont, CA, United States

 10 February 2014

  English 

 Irvine, CA, United States

 12 May 2014

 English

 San Francisco, CA, United States

 13 January 2014

 English

 Chicago, IL, United States

 14 April 2014

 English

 Roseville, MN, United States

 10 February 2014

 English

 Edison, NJ, United States

10 March 2014 

 English

 Columbus, OH, United States

14 April 2014 

 English

 Caracas, Venezuela

13 January 2014  

  Spanish 

In the 3-day Oracle Linux Advanced System Administration course you go further by learning to manage and allocate resources, and identify and diagnose performance problems.

 Location

 Date

 Delivery Language

 Jakarta, Indonesia

 28 January 2014

 English

 Bangkok, Thailand

 2 December 2013

 English

 Melbourne, Australia

 8 January 2014

  English 

 Sydney, Australia

 29 January 2014

 English

 San Francisco, CA, United States  

6 January 2014

 English

 Roseville, MN, United States

 25 November 2013

 English

 Edison, NJ, United States

 28 May 2014

 English

 Columbus, OH, United States

20 January 2014 

 English

 Irving, TX, United States

 16 April 2014

 English

 Reston, VA, United States

17 February 2014  

 English

 Caracas, Venezuela

24 February 2014  

 Spanish

For more information about the Oracle Linux system administration curriculum, to register for an event, or to request an additional event, go to http://oracle.com/education/linux.

Prove your Linux system administration expertise by taking the Oracle Linux OCA certification exam.

Tuesday Nov 12, 2013

Join us for Live Oracle Linux and Oracle VM Cloud Events in Europe

Join us for a series of live events and discover how Oracle VM and Oracle Linux offer an integrated and optimized infrastructure for quickly deploying a private cloud environment at lower cost.

As one of the most widely deployed operating systems today, Oracle Linux delivers higher performance, better reliability, and stability, at a lower cost for your cloud environments. Oracle VM is an application-driven server virtualization solution fully integrated and certified with Oracle applications to deliver rapid application deployment and simplified management. With Oracle VM, you have peace of mind that the entire Oracle stack deployed is fully certified by Oracle.

Register now for any of the upcoming events, and meet with Oracle experts to discuss how we can help in enabling your private cloud.

Nov 20: Foundation for the Cloud: Oracle Linux and Oracle VM (Belgium)

Nov 21: Oracle Linux & Oracle VM Enabling Private Cloud (Germany)

Nov 28: Realize Substantial Savings and Increased Efficiency with Oracle Linux and Oracle VM (Luxembourg)

Nov 29: Foundation for the Cloud: Oracle Linux and Oracle VM (Netherlands)

Dec 5: MySQL Tech Tour, including Oracle Linux and Oracle VM (France)

Hope to see you at one of these events!

Friday Nov 08, 2013

Oracle Linux Tips and Tricks: Using SSH

Out of all of the utilities available to systems administrators ssh is probably the most useful of them all. Not only does it allow you to log into systems securely, but it can also be used to copy files, tunnel IP traffic and run remote commands on distant servers. It’s truly the Swiss army knife of systems administration. Secure Shell, also known asssh, was developed in 1995 by Tau Ylonen after the University of Technology in Finland suffered a password sniffing attack. Back then it was common to use tools like rcp, rsh, ftp and telnet to connect to systems and move files across the network. The main problem with these tools is they provide no security and transmitted data in plain text including sensitive login credentials. SSH provides this security by encrypting all traffic transmitted over the wire to protect from password sniffing attacks.

One of the more common use cases involving SSH is found when using scp. Secure Copy (scp) transmits data between hosts using SSH and allows you to easily copy all types of files.

The syntax for the scp command is:

scp /pathlocal/filenamelocal remoteuser@remotehost:/pathremote/filenameremote

In the following simple example, I move a file named myfile from the system test1 to the system test2. I am prompted to provide valid user credentials for the remote host before the transfer will proceed.  If I were only usingftp, this information would be unencrypted as it went across the wire.  However, because scp uses SSH, my user credentials and the file and its contents are confidential and remain secure throughout the transfer. 

[user1@test1 ~]# scp /home/user1/myfile user1@test2:/home/user1
user1@test2's password: 
myfile                                    100%    0     0.0KB/s   00:00

You can also use ssh to send network traffic and utilize the encryption built into ssh to protect traffic over the wire. This is known as an ssh tunnel. In order to utilize this feature, the server that you intend to connect to (the remote system) must have TCP forwarding enabled within the sshd configuraton. To enable TCP forwarding on the remote system, make sure AllowTCPForwarding is set to yes and enabled in the /etc/ssh/sshd_conf file:

AllowTcpForwarding yes

Once you have this configured, you can connect to the server and setup a local port which you can direct traffic to that will go over the secure tunnel. The following command will setup a tunnel on port 8989 on your local system. You can then redirect a web browser to use this local port, allowing the traffic to go through the encrypted tunnel to the remote system. It is important to select a local port that is not being used by a service and is not restricted by firewall rules.  In the following example the -D specifies a local dynamic application level port forwarding and the -Nspecifies not to execute a remote command.  

ssh –D 8989 user@remotehost.com -N

You can also forward specific ports on both the local and remote host. The following example will setup a port forward on port 8080 and forward it to port 80 on the remote machine.

ssh -L 8080:farwebserver.com:80 user@remotehost.com

You can even run remote commands via ssh which is quite useful for scripting or remote system administration tasks. The following example shows how to  log in remotely and execute the command ls –la in the home directory of the machine. Because ssh encrypts the traffic, the login credentials and output of the command are completely protected while they travel over the wire.

[user1@test1 ~]$ ssh user1@test2 'ls -la'
user1@test2's password: 
total 24
drwx------  2 user1 user1 4096 Sep  6 15:17 .
drwxr-xr-x. 3 root   root   4096 Sep  6 15:16 ..
-rw-------  1 user1 user1   12 Sep  6 15:17 .bash_history
-rw-r--r--  1 user1 user1   18 Dec 20  2012 .bash_logout
-rw-r--r--  1 user1 user1  176 Dec 20  2012 .bash_profile
-rw-r--r--  1 user1 user1  124 Dec 20  2012 .bashrc

You can execute any command contained in the quotations marks as long as you have permission with the user account that you are using to log in. This can be very powerful and useful for collecting information for reports, remote controlling systems and performing systems administration tasks using shell scripts.

To make your shell scripts even more useful and to automate logins you can use ssh keys for running commands remotely and securely without the need to enter a password. You can accomplish this with key based authentication. The first step in setting up key based authentication is to generate a public key for the system that you wish to log in from. In the following example you are generating a ssh key on a test system. In case you are wondering, this key was generated on a test VM that was destroyed after this article.

[user1@test1 .ssh]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user1/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/user1/.ssh/id_rsa.
Your public key has been saved in /home/user1/.ssh/id_rsa.pub.
The key fingerprint is:
7a:8e:86:ef:59:70:ef:43:b7:ee:33:03:6e:6f:69:e8 user1@test1
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|  . .            |
|   o .           |
|    . o o        |
|   o o oS+       |
|  +   o.= =      |
|   o ..o.+ =     |
|    . .+. =      |
|     ...Eo       |
+-----------------+

Now that you have the key generated on the local system you should to copy it to the target server into a temporary location. The user’s home directory is fine for this.

[user1@test1 .ssh]$ scp id_rsa.pub user1@test2:/home/user1
user1@test2's password: 
id_rsa.pub                 

Now that the file has been copied to the server, you need to append it to the authorized_keys file. This should be appended to the end of the file in the event that there are other authorized keys on the system.

[user1@test2 ~]$ cat id_rsa.pub >> .ssh/authorized_keys

Once the process is complete you are ready to login. Since you are using key based authentication you are not prompted for a password when logging into the system.  

[user1@test1 ~]$ ssh test2
Last login: Fri Sep  6 17:42:02 2013 from test1

This makes it much easier to run remote commands. Here’s an example of the remote command from earlier. With no password it’s almost as if the command ran locally.

[user1@test1 ~]$ ssh test2 'ls -la'
total 32
drwx------  3 user1 user1 4096 Sep  6 17:40 .
drwxr-xr-x. 3 root   root   4096 Sep  6 15:16 ..
-rw-------  1 user1 user1   12 Sep  6 15:17 .bash_history
-rw-r--r--  1 user1 user1   18 Dec 20  2012 .bash_logout
-rw-r--r--  1 user1 user1  176 Dec 20  2012 .bash_profile
-rw-r--r--  1 user1 user1  124 Dec 20  2012 .bashrc

As a security consideration it's important to note the permissions of .ssh and the authorized_keys file.  .sshshould be 700 and authorized_keys should be set to 600.  This prevents unauthorized access to ssh keys from other users on the system.  

An even easier way to move keys back and forth is to use ssh-copy-id. Instead of copying the file and appending it manually to the authorized_keys file, ssh-copy-id does both steps at once for you.  Here’s an example of moving the same key using ssh-copy-id.The –i in the example is so that we can specify the path to the id file, which in this case is /home/user1/.ssh/id_rsa.pub

[user1@test1]$ ssh-copy-id -i /home/user1/.ssh/id_rsa.pub user1@test2

One of the last tips that I will cover is the ssh config file. By using the ssh config file you can setup host aliases to make logins to hosts with odd ports or long hostnames much easier and simpler to remember. Here’s an example entry in our .ssh/config file.

Host dev1
Hostname somereallylonghostname.somereallylongdomain.com
Port 28372
User somereallylongusername12345678

Let’s compare the login process between the two. Which would you want to type and remember?

ssh somereallylongusername12345678@ somereallylonghostname.somereallylongdomain.com –p 28372

ssh dev1

I hope you find these tips useful.  There are a number of tools used by system administrators to streamline processes and simplify workflows and whether you are new to Linux or a longtime user, I'm sure you will agree that SSH offers useful features that can be used every day.  Send me your comments and let us know the ways you  use SSH with Linux.  If you have other tools you would like to see covered in a similar post, send in your suggestions.

About

Get the latest updates on strategy, products, events, news, customers, partners and all things Oracle Linux! Connect with Oracle's Linux experts.

Stay Connected

Twitter


Facebook

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
5
6
7
8
9
12
13
15
16
17
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today