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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!