When I login on some particular server through SSH (which I do not have admin access to), I get the following error: urxvt-unicode: Unknown terminal type (I also don't want to change my terminal type permanently). It is important because depending on the terminal type I get different colors when logged in.Is it possible to change the terminal type just when logging through SSH?
Can I change terminal type used to login through SSH?
ssh;terminal;terminal emulator
If you have root access to the remote box, install the package ncurses-term.This will provide the rxvt-256color terminfo entry.As a non-root user, you can also copy over the rxvt terminfo entries to$HOME/.terminfo/r/ on the remote machine, and export TERMINFO=$HOME/.terminfo.ssh <host> 'mkdir -p .terminfo/r'scp /usr/share/terminfo/r/rxvt-unicode-256color <host>:~/.terminfo/r/