>I would do a diff on /etc/ssh/sshd_config for each system and see if there >are differences in the ssh daemon config. I have done a differ: $ diff sshd_config.svrver1 sshd_config.svrver2 > diff.sshd_config But I can not see anything related to this issue. The diff.sshd_config file is attached. Jialing -----Original Message----- From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx] On Behalf Of Kevin Brott Sent: Friday, March 06, 2009 11:07 AM To: secureshell@xxxxxxxxxxxxxxxxx Subject: RE: Activity of the $HOME/.kshrc On Fri, 2009-03-06 at 10:33 -0700, Jialing Liang wrote: > >> Silly question, I know - but given that they're Redhat boxes - have you > >> double-checked the account shell on the 'broken' box is /bin/ksh and > >> not /bin/bash? In the latter case, that .kshrc would not get sourced > >> without manual intervention. > > I am not so low level as unable to tell ksh and bash. Please don't misunderstand, I was not questioning your skill. The default shell is /bin/bash on RedHat systems, and mistakes happen. However, based on your reply to Greg, if the shell is /bin/ksh on both systems, then I think Greg is on the right track. I would do a diff on /etc/ssh/sshd_config for each system and see if there are differences in the ssh daemon config. -- #include <stddisclaimer.h> /* Kevin Brott <Kevin.Brott@xxxxxxxxxxxxxx> * Unix SysAdmin / Data Center & Servers / Enterprise Technology * Providence Health & Services, 11308 SW 68th Parkway, Tigard, OR 97223 */ DISCLAIMER: This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.
Attachment:
diff.sshd_config
Description: diff.sshd_config