{"id":68301,"date":"2025-05-10T03:01:00","date_gmt":"2025-05-09T17:01:00","guid":{"rendered":"https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=68301"},"modified":"2025-05-10T07:57:46","modified_gmt":"2025-05-09T21:57:46","slug":"whm-cpanel-terminal-access-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/whm-cpanel-terminal-access-tutorial\/","title":{"rendered":"WHM cPanel Terminal Access Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Apache\/cpanel_terminal.gif\" rel=\"noopener\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"WHM cPanel Terminal Access Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Apache\/cpanel_terminal.gif\" title=\"WHM cPanel Terminal Access Tutorial\" \/><\/a><p class=\"wp-caption-text\">WHM cPanel Terminal Access Tutorial<\/p><\/div>\n<p>If you read <a title='Web Server Access Primer Tutorial' href='#wsapt'>Web Server Access Primer Tutorial<\/a> below, regarding <i>ssh<\/i> means by which we access our Apache\/PHP\/MySql web servers around here there is a nuance &#8230; <\/p>\n<ul>\n<li>within our <a target=\"_blank\" title=\"WHM\" href='https:\/\/docs.cpanel.net\/whm\/' rel=\"noopener\">WHM<\/a> <a target=\"_blank\" title='cPanel' href='https:\/\/docs.cpanel.net\/cpanel\/' rel=\"noopener\">cPanel<\/a> software suite &#8230; a functionality (you can search for as, and is called) &#8230;<\/li>\n<li>terminal<\/li>\n<\/ul>\n<p> &#8230; which amounts, at least for us, to pretty much the purpose the <i>ssh<\/i> access, discussed below, is also achieving, but you have it enclosed in surrounding screen arrangements reminding you, better, just where you are.   And believe me when I say &#8230;<\/p>\n<blockquote><p>\nWith all WHM cPanel web server access work always know <font size=6>&#8220;where you are&#8221;<\/font>.\n<\/p><\/blockquote>\n<p> &#8230; doh!  You don&#8217;t want to be applying a command to the wrong web server environment!<\/p>\n<p>Here at RJM Programming our web hosts, <a target=\"_blank\" title='Crazy Domains' href='http:\/\/www.crazydomains.com.au' rel=\"noopener\">Crazy Domains<\/a>, have recently data migrated from one web server to another, and in the case of an Apache\/PHP\/MySql web server that will concern the MySql databases and your web server account <i>holus bolus<\/i> as is, pretty much perfectly, depending on your satisfaction with software versions.  That is different, though, to the username (ie. account) associated with cPanel access.  And there, you may need, particularly in the case of any Linux scripting you&#8217;ve made, bring this over, <font size=6>carefully<\/font>, yourself.<\/p>\n<p>We&#8217;re finding, with this type of work, a new appreciation of WHM cPanel&#8217;s <a target=\"_blank\" title='Terminal in WHM cPanel' href='https:\/\/docs.cpanel.net\/whm\/server-configuration\/terminal-in-whm\/' rel=\"noopener\">Terminal<\/a> application, even just as a <a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Apache\/cpanel_terminal.gif\" rel=\"noopener\">calming agent<\/a>!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=\"_blank\" href='\/\/www.rjmprogramming.com.au\/ITblog\/whm-cpanel-terminal-access-tutorial\/' rel=\"noopener\">WHM cPanel Terminal Access Tutorial<\/a>.<\/p-->\n<hr>\n<p id='wsapt'>Previous relevant <a target=\"_blank\" title='Web Server Access Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/web-server-access-primer-tutorial\/' rel=\"noopener\">Web Server Access Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/ssh_sftp.jpg\" rel=\"noopener\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Web Server Access Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/ssh_sftp.jpg\" title=\"Web Server Access Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Web Server Access Primer Tutorial<\/p><\/div>\n<p>When you maintain a Web Server there are lots of tools of use, but just what do you need to run an Apache\/PHP\/MySql web server?<\/p>\n<ul>\n<li>\n<table>\n<tr>\n<td><img decoding=\"async\" style=\" width: 130px; height: 130px\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/grits_some.jpg\" title='?'><\/img><\/td>\n<td id='bringback1' style=\"display:none;\">&#8230; Who&#8217;s smart idea was this? &#8230;<\/td>\n<td id='bringback4' style=\"display:none;\">&#8230; sun comes up &#8230;<\/td>\n<td id='bringback7' style=\"display:none;\">&#8230; sun goes down &#8230;<\/td>\n<td id='bringback9' style=\"display:none;\"><img decoding=\"async\" style=\" width: 130px; height: 130px\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/grits_one.jpg\" title='?'><\/img><\/td>\n<td id='bringback2' style=\"display:none;\"><\/td>\n<td id='bringback3' style=\"display:none;\"><\/td>\n<td id='bringback5' style=\"display:none;\"><\/td>\n<td id='bringback6' style=\"display:none;\"><\/td>\n<td id='bringback8' style=\"display:none;\"><\/td>\n<\/tr>\n<\/table>\n<\/li>\n<li>\n<table>\n<tr>\n<td><img decoding=\"async\" style=\" width: 130px; height: 130px\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/deter.jpg\" title='?'><\/img><\/td>\n<td> + <\/td>\n<td><img decoding=\"async\" style=\" width: 130px; height: 130px\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/min.jpg\" title='?'><\/img><\/td>\n<td> + @ + <\/td>\n<td><img decoding=\"async\" style=\" width: 130px; height: 130px\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/ssh\/ion.jpg\" title='?'><\/img><\/td>\n<\/tr>\n<\/table>\n<\/li>\n<li>sftp or ftp (pretty much essential) &#8230; s stands for &#8220;Secure&#8221; as in &#8220;Secure Shell&#8221;<\/li>\n<li>ssh or telnet (practically very important)&#8230; s stands for &#8220;Secure&#8221; as in &#8220;Secure Shell&#8221;<\/li>\n<li>cPanel (good to have &#8230; lots of times is essential) &#8230; also see <a target=\"_blank\" title='Web Server Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3491' rel=\"noopener\">Web Server Primer Tutorial<\/a><\/li>\n<li>phpMyAdmin (if using MySql &#8230; comes with cPanel quite often &#8230; practically essential if you use PHP\/MySql)&#8230; also see <a target=\"_blank\" title='Web Server Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3491' rel=\"noopener\">Web Server Primer Tutorial<\/a><\/li>\n<\/ul>\n<p><script> setTimeout(dobringback, 2000); <\/script><\/p>\n<p>With today&#8217;s tutorial we show access via a Mac laptop&#8217;s Terminal application&#8217;s Linux bash session&#8217;s access to the web server domain at www.rjmprogramming.com.au using ssh (which is a &#8220;logging on&#8221; piece of functionality &#8230; also see <a target=\"_blank\" title='rlogin information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Rlogin' rel=\"noopener\">rlogin<\/a>).    This destination CentOS web server environment is also Linux.   Also in the picture is a bit showing sftp being used for the transfer of files to and from the web server via your laptop, and we use Firefox plugin FireFTP to facilitate this.   There is a <a target=\"_blank\" and Favourite Plugins rel=\"noopener\">Firefox and Favourite Plugins Tutorial<\/a> regarding this below as well.<\/p>\n<p>Here are some good researching links &#8230; so, bye for now &#8230;<\/p>\n<ul>\n<li><a target=\"_blank\" title='Secure Shell information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Secure_Shell' rel=\"noopener\">ssh and sftp<\/a> information from Wikipedia<\/li>\n<li><a target=\"_blank\" title='ssh information from ComputerHope' href='http:\/\/www.computerhope.com\/jargon\/s\/ssh.htm' rel=\"noopener\">ssh<\/a> information from ComputerHope<\/li>\n<li><a target=\"_blank\" title='sftp information from ComputerHope' href='http:\/\/www.computerhope.com\/jargon\/s\/sftp.htm' rel=\"noopener\">sftp<\/a> information from ComputerHope<\/li>\n<\/ul>\n<hr \/>\n<p id=\"fafpt\">Previous relevant <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=440' title='Firefox and Favourite Plugins Tutorial' rel=\"noopener\">Firefox and Favourite Plugins Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/iFrame.html\" rel=\"noopener\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Firefox and Favourite Plugins Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/Firefox.jpg\" title=\"Firefox and Favourite Plugins Tutorial\" \/><\/a><p class=\"wp-caption-text\">Firefox and Favourite Plugins Tutorial<\/p><\/div>\n<p><a target=\"_blank\" title='click picture' href='http:\/\/www.rjmprogramming.com.au\/Firefox\/iFrame.html' rel=\"noopener\">Tutorial<\/a> &#8230;<\/p>\n<p><strong><\/p>\n<p>Transcript:<\/p>\n<p><\/strong><\/p>\n<p>One of the best tools for Web Development is an HTML element analyzer.<\/p>\n<p>There are a few out there by now, but I really like Firebug from <a target=\"_blank\" href='http:\/\/getfirebug.com\/' rel=\"noopener\">http:\/\/getfirebug.com\/<\/a><\/p>\n<p>Both these great tools are plugins for my favourite Web browser Firefox from<br \/>\n    <a target=\"_blank\" href='http:\/\/www.mozilla.org\/en-US\/firefox\/new\/' rel=\"noopener\">http:\/\/www.mozilla.org\/en-US\/firefox\/new\/<\/a><\/p>\n<p>Another important tool for Web Development is an ftp application like FireFTP from<br \/>\n    <a target=\"_blank\" href='http:\/\/fireftp.net\/' rel=\"noopener\">http:\/\/fireftp.net\/<\/a><\/p>\n<p>So let&#8217;s have a look at Firefox, briefly, and Firebug and FireFTP &#8230;\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d440' onclick='var dv=document.getElementById(\"d440\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Firefox\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d440' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d6407' onclick='var dv=document.getElementById(\"d6407\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Firefox\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d6407' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d68301' onclick='var dv=document.getElementById(\"d68301\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/terminal\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d68301' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you read Web Server Access Primer Tutorial below, regarding ssh means by which we access our Apache\/PHP\/MySql web servers around here there is a nuance &#8230; within our WHM cPanel software suite &#8230; a functionality (you can search for &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/whm-cpanel-terminal-access-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,17,33,37],"tags":[53,4505,85,234,249,270,2195,293,707,2117,1105,1190,1252,1319,1563,1748,4221,1408,1411,1806,1426],"class_list":["post-68301","post","type-post","status-publish","format-standard","hentry","category-elearning","category-gui","category-software","category-tutorials","tag-access","tag-account","tag-apache","tag-command-line","tag-configuration","tag-cpanel","tag-crazy-domains","tag-data-migration","tag-linux","tag-migration","tag-script","tag-ssh","tag-terminal","tag-tutorial","tag-username","tag-web-host","tag-web-hoster","tag-web-hosting","tag-web-server","tag-webmaster","tag-whm"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/68301"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=68301"}],"version-history":[{"count":3,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/68301\/revisions"}],"predecessor-version":[{"id":68305,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/68301\/revisions\/68305"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=68301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=68301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=68301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}