ssh into container via putty - wrong settings?

speedAmaster

Member
Dec 16, 2021
10
2
8
57
I am using putty since years - mainly with Ubuntu servers.
Relatively new to proxmox, I can use default putty setting to access proxmox console.
But using putty to access a container (Ubuntu) I can access the container, but some keys are "malicious". Like the backspace key "works" but shows something different (not deleting but kind of adding a space to the input...... BTW: in proxmox shell (GUI) all works perfect....

Any idea - or are there special setting I have to use in putty?
 
hi,

But using putty to access a container (Ubuntu) I can access the container, but some keys are "malicious". Like the backspace key "works" but shows something different (not deleting but kind of adding a space to the input......
i doubt they're "malicious", it sounds more like a common terminal or shell related issue.

what output do you get from:
* echo $SHELL
* echo $TERM

on SSH? and is it different on the GUI node console?
 
I receive
* /bin/bash and putty-256color on ssh
* /bin/bash and linux on the GUI node console

does that help?
 
in your putty session try running export TERM=linux and see if it fixes the issue.

if it works you can add it to your shell rc file (just add the same command at the end of /root/.bashrc)