You are not logged in.
It is well known that seemingly most hosts do not have terminfo for this popular terminal. There is a couple of workarounds listed on the wiki for your standard linux host/server(https://wiki.archlinux.org/index.php/Rxvt-unicode#Troubleshooting). However, I need to SSH to a lot of Juniper routers for work (they basically run BSD) and I am unable to find a good solution to my keyboard not quite working properly while connected to these hosts as the proper solution above doesn't quite apply. Does anyone know of a way of declaring the environment variable for my term to xterm within an ssh command line option or something so it only lasts for that particular session? I haven't found anything really in man pages or through the googles yet so maybe its not quite possible.
Thanks for any help!
Last edited by sikunz (2016-02-22 22:11:46)
Offline
Try: TERM=xterm ssh the.url.to.use
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Well I guess I posted too soon. I just made a super simple bash script to set the TERM env variable before and after the ssh session:
~/bin/jgo
#!/bin/bash
export TERM=xterm
ssh $1
export TERM=rxvt-unicode-256color
Not ideal but seems to work great for the time being
Offline
Try: TERM=xterm ssh the.url.to.use
Thanks! This works great as well ![]()
Offline