<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SoftLayer Blog &#187; root</title>
	<atom:link href="http://blog.softlayer.com/tag/root/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.softlayer.com</link>
	<description>A Behind the Scenes Look at the Best Hosting Provider in the World</description>
	<lastBuildDate>Wed, 15 May 2013 15:33:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Tips and Tricks &#8211; How to Use SFTP</title>
		<link>http://blog.softlayer.com/2012/tips-and-tricks-how-to-use-sftp/</link>
		<comments>http://blog.softlayer.com/2012/tips-and-tricks-how-to-use-sftp/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 19:38:08 +0000</pubDate>
		<dc:creator>Lyndell Rottmann</dc:creator>
				<category><![CDATA[Customer Service]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SFTP]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[walkthrough]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=7619</guid>
		<description><![CDATA[Too often, new customers can get overwhelmed by a small administrative task on a Linux server. One of the more common questions I see in technical support is when a drive partition runs out of space. The website appears offline, and on of my coworkers advises you to just free-up some space. &#8220;Just?! Where can [...]]]></description>
			<content:encoded><![CDATA[<p>Too often, new customers can get overwhelmed by a small administrative task on a Linux server. One of the more common questions I see in technical support is when a drive partition runs out of space. The website appears offline, and on of my coworkers advises you to just free-up some space. &#8220;Just?! Where can I find files that are deletable without affecting my website?&#8221;</p>
<p>Don&#8217;t worry &#8230; it&#8217;s really quit simple. If you can use FTP (File Transfer Protocol), you can handle this bit of server management. Depending on the exact problem, we might instruct you to free up space by removing files in one of the following directories:</p>
<ul>
<li><code>/var/log</code></li>
<li><code>/usr/local/cpanel</code></li>
<li><code>/usr/local/apache/logs</code></li>
<li><code>/usr/local/apache/domlogs</code></li>
</ul>
<p>The reason these directories are usually overlooked is because they are not accessible by normal FTP users &mdash; users who only upload website content. When you upload website content to the server via FTP, the FTP user is limited to the directory structure for that website. Directories starting with &#8220;<code>/var</code>&#8221; and &#8220;<code>/usr</code>&#8221; cannot be accessed by these non-root users (The &#8220;root&#8221; user can access anything). And while root is a powerful user, for the sake of security, it is not normally allowed to log in over FTP because FTP is not secure &#8230; That&#8217;s where SFTP (Secure File Transfer Protocol) comes in.</p>
<p>Most FTP clients support SFTP, so you don&#8217;t have to learn a new environment to securely access any file on the server. Every FTP client is different, but I&#8217;ll illustrate with <a href="http://filezilla-project.org/">FileZilla</a> because it&#8217;s free and available on Mac, Windows and Linux. If you don&#8217;t already have an FTP client, I highly recommend FileZilla. Because there are a few ways to use FileZilla to get an SFTP connection, I can share different options for you to try:</p>
<p style="margin-bottom:0; padding-bottom:0;"><strong>Quick Connect</strong></p>
<p style="margin-top:0; padding-top:0;">The Quick Connect bar is the quickest way to connect to your server. Start FileZilla and look immediately under the toolbar for the Quick Connect bar:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzquickconnect.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzquickconnect_sm.png" alt="SFTP Tutorial"/></a></p>
<p>Enter the hostname (IP address or domain name), “root” in the Username field, the root password in the Password field, and “22″ in the port field. Remember, port 22 is for SFTP, the same as SSH.  Click the Quickconnect button to connect.</p>
<p style="margin-bottom:0; padding-bottom:0;"><strong>Using the Site Manager</strong></p>
<p style="margin-top:0; padding-top:0;">The Site Manager lets you save your login details. Start FileZilla and you&#8217;ll see the following:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzsitemanager.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzsitemanager_s.png" alt="SFTP Tutorial"/></a></p>
<p>To open the Site Manager, click the left-most icon in tool bar or go to <code>File &gt;&gt; Site Manager</code> in the menu.</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fznewsite.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fznewsite_s.png" alt="SFTP Tutorial"/></a></p>
<p>Enter an IP address or domain name for your server in the Host field, and select &#8220;SFTP&#8221; as your protocol. You&#8217;ll enter the root user&#8217;s login information, and you&#8217;re ready to connect by clicking the &#8220;Connect&#8221; button or you can click the &#8220;OK&#8221; button to save and close the dialog box.</p>
<p>If you just saved your settings and the Site Manager is not open, click the Site Manager icon again. From there, you can select the site under the &#8220;Select Entry&#8221; box, and you just have to click &#8220;Connect&#8221; to initiate the SFTP connection with your saved settings.</p>
<p>If you see a pop-up that warns of an &#8220;Unknown host key,&#8221; clicking the &#8220;Always trust this host, add this key to the cache&#8221; option will prevent this interruption from showing in the future. Once you click &#8220;OK&#8221; to complete the connection, your FileZilla screen should look like this:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzrootlogin.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzrootlogin_s.png" alt="SFTP Tutorial"/></a></p>
<p>Notice the &#8220;Remote site&#8221; section on the middle right of the FileZilla screen:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzremotesite.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzremotesite_s.png" alt="SFTP Tutorial"/></a></p>
<p>This area in FileZilla is the directory and file listing of the server. Navigate the server&#8217;s file structure here, and click &#8220;<code>/</code>&#8221; to access the top of the folder structure. You should see the &#8220;<code>/usr</code>&#8221; and &#8220;<code>/var</code>&#8221; directories, and you can explore the filesystem to delete the files technical support recommended to create space!</p>
<p style="margin-bottom:0; padding-bottom:0;"><strong>Message Log</strong></p>
<p style="margin-top:0; padding-top:0;">If you have a problem connecting to your server by FTP or SFTP, the open area below the Quickconnect bar is the Message Log. If you can copy and paste this text into a ticket, you&#8217;ll help technical support troubleshoot your connection problems. Below is an example log of a successful FTP session:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Status: Connecting to server.example.com...
Response:   fzSftp started
Command:    open <span style="color: #ff0000;">&quot;root@server.example.com&quot;</span> <span style="color: #000000;">22</span>
Command:    Trust new Hostkey: Once
Command:    Pass: <span style="color: #000000; font-weight: bold;">**********</span>
Status: Connected to server.example.com
Status: Retrieving directory listing...
Command:    <span style="color: #7a0874; font-weight: bold;">pwd</span>
Response:   Current directory is: <span style="color: #ff0000;">&quot;/root&quot;</span>
Command:    <span style="color: #c20cb9; font-weight: bold;">ls</span>
Status: Listing directory <span style="color: #000000; font-weight: bold;">/</span>root
Status: Calculating timezone offset of server...
Command:    mtime <span style="color: #ff0000;">&quot;.lesshst&quot;</span>
Response:   <span style="color: #000000;">1326387703</span>
Status: Timezone offsets: Server: <span style="color: #660033;">-21600</span> seconds. Local: <span style="color: #660033;">-21600</span> seconds. Difference: <span style="color: #000000;">0</span> seconds.
Status: Directory listing successful</pre></div></div>

<p>And here&#8217;s an example of a failed connection:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Status: Resolving address of example.com
Status: Connecting to 192.0.43.10:<span style="color: #000000;">21</span>...
Error:  Connection timed out
Error:  Could not connect to server
Status: Waiting to retry...
Status: Resolving address of example.com
Status: Connecting to 192.0.43.10:<span style="color: #000000;">21</span>...
Error:  Connection attempt interrupted by user</pre></div></div>

<p>If you have any questions, leave them in a comment below. Enjoy your new-found SFTP powers!</p>
<p>-Lyndell</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2012/tips-and-tricks-how-to-use-sftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jurassic Park, Uptime, And You!</title>
		<link>http://blog.softlayer.com/2011/jurassic-park-uptime-and-you/</link>
		<comments>http://blog.softlayer.com/2011/jurassic-park-uptime-and-you/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 16:00:30 +0000</pubDate>
		<dc:creator>Adam Van Kirk</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[administrators]]></category>
		<category><![CDATA[exploits]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[toolkits]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/2011/</guid>
		<description><![CDATA[Some of you may remember in the movie Jurassic Park where the park founder&#8217;s granddaughter Lex, played by Ariana Richards, sits down at a computer terminal, gasps, and says &#8220;This is Unix. I know this!&#8221; That particular film moment has always resonated with me as a victory for realistic depiction of computer systems &#8211; the [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you may remember in the movie Jurassic Park where the park founder&#8217;s granddaughter Lex, played by Ariana Richards, sits down at a computer terminal, gasps, and says &#8220;This is Unix. I know this!&#8221; That particular film moment has always resonated with me as a victory for realistic depiction of computer systems &#8211; the interface used in the movie is called fsn and was an actual Unix file manager &#8211; in an industry rife with horrific exaggerations; Swordfish, anyone? I&#8217;m sure there&#8217;s an unwritten story as to how she (or her brother if you follow the book) gained her skills at a computer system that in 1993 was almost exclusively relegated to universities. However, I digress.</p>
<p>Shortly before that scene was another scene and catchphrase that should resound with familiarity to system administrators around the world. In the face of marauding dinosaurs and computer sabotage, the character John Arnold, played by Samuel L. Jackson, must sacrifice what I&#8217;m sure was an absurd amount of uptime by killing the power and rebooting the mainframe. Would the system come back up? Would everything load up as needed to get the park&#8217;s systems back online? John&#8217;s mantra was simple: &#8220;Hold on to your butts!&#8221;</p>
<p>Every day as a Systems Administrator I&#8217;m faced with a comparable (though far less exhilarating) situation. Linux is an extremely stable operating system, and I have logged into systems that have been online for quite literally years. Eventually, though, kernel updates or stray mounts necessitate a reboot. Will the server&#8217;s filesystems need a check on reboot? Will the server even come back up? When a server&#8217;s been online for that long, the only way to know is to &#8220;throw the switch&#8221; and cross your fingers.</p>
<p>One way to have a better idea of how your system will behave during reboots in a production environment is to take the time to update your kernel once a month or so and perform a reboot to make sure the update sticks. This allows routine file system checks to take place as necessary and keeps your system abreast of the latest kernel updates. It also familiarizes you with how long the process takes, what sort of caveats you may run into, and reduces the overall surface area of your server to outside attackers.</p>
<p>In the last year, I have seen at least two exploits that can give an attacker root access to a server running an outdated kernel using common toolkits that can attack commonly deployed Content Management Systems with trivial effort. Compromising an unprivileged user account gives an attacker even more leverage against unpatched systems. Google CVE-2009-2695 and CVE-2010-3081 if you don&#8217;t believe me.</p>
<p>If you run a production system or even a backend system that is exposed to the big, bad Internet, it is absolutely essential to make sure that your kernel, software, and security measures are up to date. Today&#8217;s Slashdot article is tomorrow&#8217;s exploit.</p>
<p>What lesson can we learn from the unfortunate folks at Jurassic Park? Don&#8217;t assume your server is safe and don&#8217;t wait until there are velociraptors roaming your halls looking for a snack to perform proper maintenance on your system.</p>
<p>-Adam</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/jurassic-park-uptime-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
