doubledee — 2012-02-12T12:19:15-05:00 — #1
I am running a Virtual Private Server (VPS) with my web host. Currently I have Plesk and it turns out that you can't do anything with it?! :rolleyes:
Someone told me that I need SSH in order to interact remotely with my Server and make changes to it.
Is this true?
ralphm — 2012-02-12T17:31:06-05:00 — #2
Again, noob alert here, but yes, that's basically the way to get things done on a server. I've recently had a try at using Terminal on the Mac, the native command line tool. It connects to the server by SSH (I believe). The commands are very weird and mystical, but it's unbelievable what you can do with it, and how easy it is. However, the language you have to use is tripple Dutch to me, so I am limited in what I can do to what instructions people give to me.
notau — 2012-02-12T18:35:07-05:00 — #3
Plesk is a web utility for managing your VPS server - through this you can start/stop it etc.
Through SSH you can connect to the terminal and that is where you can setup applications for web and email hosting, file hosting and so on. Do you need to setup a web server?
dklynn — 2012-02-12T18:57:00-05:00 — #4
webexp — 2012-02-12T18:57:01-05:00 — #5
You can almost do everything in Plesk. Just to warn you, SSH is very difficult to jump into, also can be very risky if you don't know how to change things. But once you get the basic function and navigation down, it isn't to bad. Just before you start messing in SSH, make sure that you can not do it in Plesk.
ralphm — 2012-02-12T19:02:59-05:00 — #6
I agree, but I've found that there are some things I can't do (don't have access to) via WHM/CPanel, so in those situations, using the command line is very handy (and necessary, it would seem) ... though I use it with great trepidation, for the reasons webexp mentioned.
Recently, I moved from one host to another, and the only way I could find to moves the sites over was via SSH ... but it was amazingly quick and efficient. I've also had some problems with site permissions of late, and resetting them via the command line is unbelievably quick and easy ... so I'm really beginning to appreciate the power of this. There also seem to be certain Apache settings etc. that you can't change via WHM ... though that's all a very dark and murky are for me!
dklynn — 2012-02-12T21:32:26-05:00 — #7
I have Virtuosso under my WHM for when deeper tools are required - but I've not had a reason to resort to Virtuosso so I can't say that I have enough experience to be truly dangerous (yet).
WHM has a very nice tool to move entire websites from one server to another (provided both are using WHM). As for permissions, I don't care for cPanel's File Manager and simply use FireZilla (FTP client) to alter those with ease. As for Apache settings, I recall that WHM does allow you to mess with parts (or the Apache2.conf?) and it's smartest to use WHM because the syntax should be correct.
I agree, use the tools when available but have SSH in your back pocket when needed. It's always a case of the best tool for the job (which can be dependent upon which an individual is most familiar with).
ralphm — 2012-02-12T21:44:20-05:00 — #8
Yes, I made a mistake there. I also use the ftp program to set those. I meant "ownership", whatever that is. (I recently had troubles due to "ownership" issues after moving the sites ... such as not being able to delete certain files/folders on my host—via CPanel or the FTP client. Only way I could find to fix it was via command line.)
WHM has a very nice tool to move entire websites from one server to another (provided both are using WHM).
Hm, I read for weeks on the issue, and trawled the CPanel forums, but didn't find anything like this—or at least something I could understand. O well!
scallioxtx — 2012-02-12T23:50:20-05:00 — #9
It depends on who you ask and what you're using you're using your server for really. I know my way around the command line pretty well (at least in Debian/Ubuntu and CentOS) and if I were to set up a dedicated server for just a few sites I'd do that without any panel (like cPanel/Direct Admin/etc). For servers that need tosupport multiple websites, which may come and go as they please it's a lot more convenient to have a panel.
The reason I wouldn't want to use a panel for a single website server is because I can configure everything to my desire without it, and the panel doesn't add anything for me, except maybe another thing that can be hacked.
Then again, it's not a good idea to use the command line if you don't know what you're doing as it's way too easy to screw stuff up. Trust me, I've been there
ideamine — 2012-02-15T01:22:21-05:00 — #10
Plesk is a leading Server Control panel. Using Plesk you can manage your server very easily. SSH access requires some sort of *nix and command knowledge . Default port for SSH is 22 but for security reason it is good to change SSH port to any other than 22. For SSH, you can either use password based authentication or key based.
dklynn — 2012-02-15T02:43:21-05:00 — #11
nmap can find the port in use for SSH so "hiding the port" is of little value. Do NOT rely on that!
The answers above about using the correct tool for the job stands.
wwb_99 — 2012-02-15T11:56:18-05:00 — #12
Seriously people. Put your servers behind firewalls with VPNs. Barriers to entry are good.
ralphm — 2012-02-15T19:08:18-05:00 — #13
Sounds good, but I have no idea what it means. :lol:
(PS: I did look up "VPN" beofre making this fluff post ... but it was a bit over my head.)
doubledee — 2012-02-15T20:28:23-05:00 — #14
The way my Plesk is set up with GoDaddy, the above statement IS true.
I meant an SSH Client using SSH
IMHO, you have no business doing that (I KNOW I don't!) and should rely on Plesk (or your host's sysadmin staff) to make those changes.
Well, let's be realistic here and you tell me what my options are...
- I am running a website that is also technically an e-commerce site, but I have no visitors
- I built the site myself (and with LOTS of help from the awesome people on SitePoint!!!)
- I have a VPS with GoDaddy
- Some have said it is safer to run an e-commerce site on a Shared Host than on a VPS (but I don't believe them)
- I don't have any real-world friends who are System Administrators
- I have little to no $$$
- GoDaddy charges $100/hour and you don't get much for that. Need an SSL installed? It might take 5-10 minutes, but will cost you at least $50!!
- Even if I could find a System Administrator on-the-cheap I would be VERY SKEPTICAL of trusting someone from online
- To have a world-class site, I need much more control than a Shared Plan at GoDaddy will offer
- I do NOT have $1,000/month to pay for a Managed Server with Rackspace (Besides, from my research, they don't manage a whole hell of a lot?!)
- The IT market and Job market are still abysmal in the U.S.
- If I don't get my own business going then I'll never get back on my feet and out-of-debt (My contract just ended because the project I was on was over-budget, and they were out-of-money even though they liked me. So I am unemployed AGAIN.)
[b]Is trying to learn to be my own Linux System Administrator a gigantic undertaking and goal?! YES!!!!
(But based on what I've said, you tell me what other options I have?!)[/b]
If I look back at all I have learned about HTML, CSS, and PHP in the past 12 months I think it is impressive.
Now I realize that Sever Administration can do much more damage than HTML, CSS, or even PHP but if millions of others do it reasonably well, then why can't I??
Besides, I still subscribe to the rule that "80-90% of the Problems/Challenges can be Solved by 10-20% of the Tools/Approaches/Knowledge". (So far it has applied to HTML, CSS, PHP, and Web Security, and it is my hope that it can apply to my Linux VPS.)
So THAT is where I am coming from and the true motivation behind this thread...
ralphm — 2012-02-15T21:39:05-05:00 — #15
That's weird. It may be cheaper, but not better.
I do NOT have $1,000/month to pay for a Managed Server with Rackspace (Besides, from my research, they don't manage a whole hell of a lot?!)
There are much more affordable managed VPS offerings in the US (for which I am very envious). Like $15-20 per month.
But yes, there doesn't seem to be much "management" about a managed server ... but it's nice not to have to worry about what's happening in the background.
I meant an SSH Client using SSH
For which you can use Terminal on the Mac, as mentioned in post #2.
dklynn — 2012-02-15T22:32:21-05:00 — #16
wwb_99 — 2012-02-16T09:26:49-05:00 — #17
Yeah, it is funny how little lots of good web people know about real network security. I have never, ever run a public-facing web server without having it behind a firewall only allowing the traffic we want through. Now, that makes it tricky to manage which is where the VPN comes in. A Virtual Private Network allows users to authenticate in some manner and then effectively places that user on the LAN side of that firewall, presumably with access to the stuff you aren't exposing to the public.
@DD -- security costs money or requires expertise. Perhaps some cost-effective expertise in your case would be a third party code review and security review to see if there are any eggregious flaws that you weren't aware of. This won't be free but it will not cost $1000 a month.
doubledee — 2012-02-18T02:14:30-05:00 — #18
Well, my Payment Gateway and Payment Processor expect me to pay for "Security testing" or whatever it is called.
After I install Release #2 and get all of the obvious kinks out, I'll have to d that and see how I come out?!