Operating System - HP-UX
1753608 Members
6190 Online
108797 Solutions
New Discussion юеВ

Re: Hidden string in remsh

 
SOLVED
Go to solution
Test e Collaudo Dipart.
Occasional Advisor

Re: Hidden string in remsh

Simon, we are almost near the solution...
the command "clear" does not work on remsh, but your second script can be a rude solution (test it without "clear"!)
Does the "remote clear" work on your systems?

The necessity of typing the password is real because we have a different password for each DB.

For the ssh... I have it already installed, but it could not useful in this case; my problem is an invisible typing on a remote shell; not an Unix authentification.

Many thanks!

Vale et valete
ZAMPO
Simon Hargrave
Honored Contributor
Solution

Re: Hidden string in remsh

I think you will find the clear is not working because the TERM environment variable is not set. By default /etc/profile and .profile are not called when connecting via remsh, so your environment is minimal.

Try adding

export TERM=vt100

as the first line of your remote script.

(this assumes your operators are connecting via a VT terminal. You may need to replace this with hpterm if using a green HP screen for example).
Test e Collaudo Dipart.
Occasional Advisor

Re: Hidden string in remsh

It works!
I think we will use this solution...
Could work ssh too (with option -t) but there is a RPC to a Windows server in the middle of the chain, so... It's a problem!
So many thanks to Harry too!
See you netx thread!

Vale et valete
ZAMPO
Test e Collaudo Dipart.
Occasional Advisor

Re: Hidden string in remsh

The solution is not so smart, but it works!
There is a light flickering of the writing on the video, but for my propose is good!
Many thanks to Simon Hargrave for his kindness...


Vale et valete
ZAMPO