1752701 Members
5920 Online
108789 Solutions
New Discussion юеВ

Re: SSH question

 
SOLVED
Go to solution
de049
Advisor

Re: SSH question

strange, tried all those but still it wont stick.

Why when i do a CAT on inetd.conf i get a different content to VI inetd.conf?

If i do CAT i see no TELNET entries listed. If i do VI, i see telnet but i always loose the # i put infront of it.

thanks
Suraj K Sankari
Honored Contributor

Re: SSH question

Hi,

Please set your terminal.
can you post your .profile
I think due to terminal setting you are facing this problem.

Suraj
Danny Petterson - DK
Trusted Contributor

Re: SSH question

Yeah, as stated above, let us know your term:

echo $TERM

and lets see your profile:
cat ~/.profile
de049
Advisor

Re: SSH question

echo $TERM = vt220

profile = export TERM

EDITOR=vi
export EDITOR

fi # if !VUE


# Set up shell environment:

set -u # error if undefined variable.
trap "echo 'logout root'" 0 # what to do on exit.


# Set up shell variables:

MAIL=/var/mail/root
# don't export, so only login shell checks.

echo "WARNING: YOU ARE SUPERUSER !!\n"
# Inserted by MV38 installation
export MV38=/opt/mv38/MV38v11.3.1



Danny Petterson - DK
Trusted Contributor

Re: SSH question

echo vt100 >> ~/.profile

Logout and login again - see if it helps.
Suraj K Sankari
Honored Contributor

Re: SSH question

Hi de049,

As said by Danny did you changed vt220 to vt100
if yes then tell us still you are facing problem.

Suraj
de049
Advisor

Re: SSH question

ok, yes it works now. Basically, it was a combo of the VT terminal and the fact my client software wasn't fully displaying the exact content. I adjusted the terminal rows and all is now displayed via CAT and VI identically.

Thanks guys. You've been incredible!!!
Suraj K Sankari
Honored Contributor

Re: SSH question

Hi Dwayne,

KEEP ASSIGNING POINTS TO THOSE WHO SPEND THEIR VALUABLE TIME FOR YOU.

http://forums11.itrc.hp.com/service/forums/helptips.do?#33

Suraj
Danny Petterson - DK
Trusted Contributor

Re: SSH question

Easy Guys, Im sure Dwayne will, he just needs to get his work done first - Im sure we can wait, its not that important :-)

Take care everybody
Yours
Danny
de049
Advisor

Re: SSH question

Dont worry i will assign the much deserved points right away.

One last thing. ever since i played around with the VT profile changes, i keep getting this at the prompt on first login:

# rofile[54]: vt100: not found.t220".

Before at first login i simply got the # prompt awaiting my input. Now i have to type CLEAR before being able to continue with my input.

Any ideas.

dwayne