Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What are the valid reasons why you need to use SSH on a shared server?

share|improve this question

migrated from stackoverflow.com May 5 '10 at 5:06

This question came from our site for professional and enthusiast programmers.

2  
The real question is what are valid reasons NOT to use SSH. –  John Gardeniers May 5 '10 at 5:22
    
SSH as in compared to telnet or as in the comparassion by granting users shell access instead of only sftp access? –  andol May 5 '10 at 6:03
add comment

4 Answers

I've never heard anyone lamenting encrypting their login data. SSH encrypts login-data as well as all traffic, so there's no disadvantage to using it; failing to do so gives anyone with access to the network's traffic access to your login data.

share|improve this answer
    
security is the one thing you a never have to much of. –  Steve Robillard May 4 '10 at 17:27
1  
There is such a thing as too much security. There needs to be a balance between security and usability. –  ThatGraemeGuy May 5 '10 at 6:09
add comment

Personally, I like to have the ability to set up a git repository to use for my web apps instead of that hideous other thing... what do you guys call it? Oh, FTP.

Another use: setting up crontab for daily maintenance tasks.

share|improve this answer
add comment
  • Setting up Cron Jobs
  • Compiling custom builds of software (such as php to include support for things like GD)
  • Installing things like PEAR
  • Writing bash scripts to do things
  • Ruby on Rails
  • Command Line Mysql Access (a lot of shared hosts only allow local connections, not remote)
  • Zipping/Gzipping files before downloading them
  • Perl Scripts

And the list goes on and on. You need SSH access if you're doing anything beyond the basic FTP php files to a folder.

share|improve this answer
add comment

The other alternative to ssh is telnet which, by default, does not encrypt the network traffic sent over the connection and is thus vulnerable to packet sniffing. So it is better to use ssh for remote logins.

share|improve this answer
2  
Telnet is no more an alternative to SSH than an open rowboat is an alternative to a nuclear submarine. –  John Gardeniers May 5 '10 at 5:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.