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.

I am stuck in this issue:

I have a new server which i access thru ssh, using PuTTy. In Configuration, i need to select which ssh shell i need in order to access the server with ssh.

choices:

/bin/sh
/bin/bash
/bin/dash
/bin/bash(chrooted)

If i choose /bin/sh, I dont have the some permissions e.g. to install setuptools of python, If I choose /bin/bash(chrooted), I dont have python and if I python it says: command not found.

I am using Debian 7,

what should i do?

share|improve this question
    
What do you mean by "In Configuration"? Who is asking you to make this choice? By "server", do you mean an account on a hosting provider, or do you really have control over the whole server? –  200_success Sep 8 '13 at 18:57

1 Answer 1

up vote 1 down vote accepted

What's the purpose of the server ?

Do you want users to have limited access or not ?

In you want to use it as a normal server it's better to use bash. Chroot is actually a stripped environment (http://en.wikipedia.org/wiki/Chroot) Used in cases that you want users to access only a few commands and just that {for example in gateways}

It highly depends on what you want to do. The default /general behavior is to choose /bin/bash

share|improve this answer
    
thanks, this helped me. –  doniyor Sep 8 '13 at 15:04

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.