Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a shared account on our system, which has login shell tcsh. I prefer bash and would like to have it run bash when I ssh in from my personal account but leave tcsh for anyone else using the account. I know I could set something up reflecting on the IP I ssh in from, but is there any (kludgy or non-kludgy) way to do this based on the user who ran ssh? Or a way to run ssh to get it to give me an interactive bash session?

share|improve this question
up vote 4 down vote accepted

Okay, that wasn't hard to Google once I realized what I wanted: ssh -t user@host bash

share|improve this answer

Your Answer


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.