• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to SSH to Shared Hosting Server

By Abhishek Ghosh June 5, 2014 4:31 pm Updated on June 5, 2014

How to SSH to Shared Hosting Server

Advertisement

Yes, it is possible to SSH to Shared Hosting Server with non-sudoers’ privilege, it never gives the full usage, still better than FTP ! Shared Server is good choice for parking the domains – in case you have 50+ domains. OpenShift to Rackspace – none actually are suitable for this purpose. We must not abuse the free usage tier offered by Rackspace (dev), Digital Ocean, Amazon, OpenShift or Heroku. Paying few dollars to Hostgator like Shared Hosting can solve the situation to host 100s of not so active websites. author has not much experience about Shared Servers but Hostgator, SlowDaddy GoDaddy etcetera web hosts allows to SSH. That is what we are going to discuss on this topic – How to SSH to Shared Hosting Server.

 

How to SSH to Shared Hosting Server : Basics

 

At least Hostgator allows to SSH up to $HOME folder, here is the copy paste from CLI :

 

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
?  ~  ssh -p 2222 tcwmedia@140.258.189.20
The authenticity of host '[140.258.189.20]:2222 ([192.254.189.28]:2222)' can't be established.
RSA key fingerprint is bb:6a:51:b4:63:e8:3b:a1:c9:c8:29:3f:b9:1b:4e:49.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[140.258.189.20]:2222' (RSA) to the list of known hosts.
tcwmedia@192.254.189.28's password:
Attempting to create directory /home3/tcwmedia/perl5
tcwmedia@freehealthfoundation.org [~]# pwd
/home3/tcwmedia
tcwmedia@freehealthfoundation.org [~]# cd ..
tcwmedia@freehealthfoundation.org [/home3]# cd ..
tcwmedia@freehealthfoundation.org [/]# ls
/bin/ls: cannot open directory .: Permission denied
tcwmedia@freehealthfoundation.org [/]# pwd
/
tcwmedia@freehealthfoundation.org [/]# cd $HOME
tcwmedia@freehealthfoundation.org [~]# ls
./             .contactemail  .gemrc       .trash/       public_ftp/
../            .cpanel/       .htpasswds/  access-logs@  public_html/
.bash_logout   .dns           .kshrc       etc/          tmp/
.bash_profile  .emacs         .lastlogin   mail/         www@
.bashrc        .ftpquota      .pki/        perl5/
tcwmedia@freehealthfoundation.org [~]# sudo
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
            name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C fd] [-D level] [-g
            groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid]
            [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C fd] [-D level] [-g
            groupname|#gid] [-p prompt] [-u user name|#uid] file ...
tcwmedia@freehealthfoundation.org [~]# sudo su
sudo: unable to mkdir /var/db/sudo/tcwmedia: Read-only file system
 
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
 
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
 
[sudo] password for tcwmedia:
tcwmedia is not in the sudoers file.  This incident will be reported.
tcwmedia@freehealthfoundation.org [~]#

 

So, you can not run sudo command! I laughed a huge at “We trust you have received the usual lecture from the local System Administrator”. Obviously, you are doing SSH on a Shared Server and running sudo…

Advertisement

---

How to SSH to Shared Hosting Server

Port is specific for the web host – like here its 2222. To SSH you need to run :

Vim
1
ssh -p 2222 your-user-name@your-ip-address

 

Why to SSH to Shared Hosting Server

 

You run curl, wget, cd, mv, rm etcetera common commands which never needs sudo privilege. It depends on the server admin whether you can run tar, zip or other commands.

Tagged With ftp shared server , how to ssh to godaddy shared server , shared hosting ftp vs ssh , ssh on shared host , ssh shared server , ssh sudo prevlage access shared hosting

This Article Has Been Shared 136 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to SSH to Shared Hosting Server

  • Self Portrait Ideas and Tips For Digital Photography

    Self Portrait Ideas and Tips For Digital Photography can push your creativity to the next level, even with a mobile phone camera, but how you can make the flow ? When we are talking about Self Portrait Ideas and Tips For Digital Photography, definitely three things arrives at minimum – the first is Portrait Photography in […]

  • Ultimate Checklist For Mobile Phone Photography

    Ultimate Checklist For Mobile Phone Photography Lists the possible pitfalls an average Mobile Camera Phone user does making photo more bad than its capacity.

  • Security in the Cloud : The Divided Responsibilities

    Security in the Cloud by the part of the services offered by third parties is part of the prospects for risk management of a company to run assessments.

  • Create Own Software Repository With Rackspace Cloud Files

    Create Own Software Repository With Rackspace Cloud Files. The SSL of Cloud Files is Free, access is API based, its hosted on Akamai – what you want more ?

  • Google Compute Engine : Get Started

    Google Compute Engine has a provision to get a limited free preview after filling a survey like form. Let us look at the form as well as the technical backend.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023
  • Simple Windows Security and Privacy Checklist for 2023 March 24, 2023
  • 7 Best Artificial Intelligence (AI) Software March 24, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to SSH to Shared Hosting Server," in The Customize Windows, June 5, 2014, March 28, 2023, https://thecustomizewindows.com/2014/06/ssh-shared-hosting-server/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT