Saturday, February 06, 2010

Setting default SSH shell to bash

I spent some times to figure out how to execute a remote command using “bash” and thought of sharing my findings (make your job easier).

An easy way is to go and edit ~/.profile and add the bash over there.

However above will not work if you try to remotely execute a script file, to solve that issues you need to edit


Find the entry corresponding to your logging and edit the last part of the entry for example; if the entry is like;

then change that to

You are in the business now…


Jukka said...

See also: chsh(1)

ராமச்சந்திரன் said...

Hi Deepal Jayasingh,

Thanks for ur webservices related blogs, it is very useful for me in my webservices related development, i have doubt regarding WSDL2JAVA.bat i.e., one of my WSDL URL has Basic Authentication, how can i pass Username and Password in WSDL2JAVA.bat. i am struck here nearly 3 weeks ur kind help will be much appreciated.