[NTLUG:Discuss] terminal error
Chris Cox
cjcox at acm.org
Sat Aug 21 01:31:14 CDT 1999
Also...try running ssh as root using strace -f and capture the output. See
if it provides any useful hints (not for the faint of heart btw). Easiest
if you run a sshd on your local box and connect to yourself.
# /usr/local/sbin/sshd
# strace -f /usr/local/bin/ssh1 myhost >yukola.out 2>&1
myrootpasswd
exit
# vi yukola.out
Chris
Chris Cox wrote:
>
> Ok...looks like TERM is set. Can't seem to find the /etc/termcaps file.
> Try setting the environment variable TERMCAP to the term string associated
> with your terminal setting as a workaround. However, ssh eventually
> invokes /bin/bash (or whatever your current shell is)....so you'd think
> something is screwball in the shell.
>
> Do a "ps l" and look at the child process for the ssh invocation....what
> shell is it executing??
>
> Regards,
> Chris
>
More information about the Discuss
mailing list