Friday, January 28, 2011

SSH in with alternative shell

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?

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

    From Chinasaur

0 comments:

Post a Comment