telnet and ssh problem.

Scott W wegster at
Sun Nov 23 16:24:31 PST 2003

falaki at wrote:

>Hi Every body;
>   I have a FreeBSD Server. It has telnet and ssh up. They work, but not
>properly. When I ssh to the server or telnet from Linux shell by each
>Enter I see the following message:
>bash: \033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007: bad substitution
>      But when I telnet from Windows no such error is shown, but obviously
>the terminal does not work properly, especially
>when using things like less, vim and ...
>I would be thankful if someone help me.
>Mohammad H. Falaki.
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"
Sounds like a classic terminal emulation issue.  On your Linux system, do:
export TERM=xterm
and then telnet or ssh in.  Let me guess, you're using a 'funky' 
terminal like GNOME Terminal or KTerm?


More information about the freebsd-questions mailing list