Operating System - HP-UX
1847177 Members
5084 Online
110263 Solutions
New Discussion

Setting Default Term for ssh sessions

 
Nellian Solaiappan
Frequent Advisor

Setting Default Term for ssh sessions

Hi All
I'm running a HP-UX 11.0 server and openssh on it. My users are connecting to the server using the emulator Extra! from attachmate. Originally they were using telnet and now they are migrated to SSH.
Whenever a user's password expires and the user logs in now, /etc/profile's default term doesnt get set and the user is directly taken to password change scene and the display is off. Every thing is shown in one line.
Is there any configuration on either ssh_config or sshd_config to set a default term or to specify that etc/profile needs to be executed first

Regards
Nell
3 REPLIES 3
RAC_1
Honored Contributor

Re: Setting Default Term for ssh sessions

Does the emulator have that setting??
What do you have set in /etc/profile for TERM??
There is no substitute to HARDWORK
Nellian Solaiappan
Frequent Advisor

Re: Setting Default Term for ssh sessions

The emulator has terminal setting but that doesnt prevent this problem from happening and I have set the default term to vt220 on my etc/profile.
RAC_1
Honored Contributor

Re: Setting Default Term for ssh sessions

How about putting this in /etc/profile

export TERM=$(ttytype -a)

Anil
There is no substitute to HARDWORK