I am setting up a VPS and have the options Ubuntu 10.04 LTS 64bit Lucid or Ubuntu 11.10 64bit Oneric. I decided to go with Lucid since it was LTS(although I originally had installed Oneric as I read the support till dates wrong at a glance). Anyways, I find logging in as root is the only way to have a fully functional terminal. For example, I installed bash-completition, and now the tab key does auto complete as I am used to in Precise/Quantal. If I log in to a user account, tab simply inserts a tab. If I am logged in as root, I can hit the up key on the keyboard to cycle through previous commands. As a User it just prints want I believe is machine code like "$ ^[[A^[[A^[[B^[[B^[[D" This happens weather I use Putty,Konsole,or Yakuake(default). Since hte problem happens on both Lucid and Oneric I assume the problem is on my end so I am posting this in the quantal forums.
Announcement
Collapse
No announcement yet.
SSH Problems with Putty,Konsole,Yakuake
Collapse
This topic is closed.
X
X
-
SSH Problems with Putty,Konsole,Yakuake
OS: Kubuntu 12.10/Windows 8
CPU: Intel Core i7 2600K
Motherboard: Gigabyte GA-Z77X-UD5H
Memory: 2x4GB Corsair Dominator
Graphics Card: MSI R7770
Monitor: Dell 2208WFP
Mouse: Mionix NAOS 5000
PSU: Corsair 520HX
Case: Thermaltake Mozart TX
Cooling: Thermalright TRUE Black Ultra-120 eXtreme CPU Heatsink Rev C
Hard Drives: 1x180 GB Intel 330 SSD - 1xWD 1 TB Caviar Black - 1xWD 2 TB Caviar Green - 2xWD 3 TB Caviar GreenTags: None
- Top
- Bottom
-
The problem is with the VPS not your terminal. The character that are printed are the arrow key escape codes so they are being sent correctly, but the shell on your VPS is just printing them out.
What shell are you using? (/etc/passwd will contain your default shell)
- Top
- Bottom
-
Thanks james, but problem solved. I was going to update the thread a short while ago but something came up and I was preoccupied for a little bit. You were spot on with the problem. This is in relation to the bash questions thread you replied to(been meaning to get back to you on that one to). I was using useradd to automaticly create users I know it is not the proper way per say, but I didn't realize the crucial differences with in the two in regards to default shell environments. In this case, the box was set to use dash by default. Once I moded the user to use bash, everything starting working as it should.OS: Kubuntu 12.10/Windows 8
CPU: Intel Core i7 2600K
Motherboard: Gigabyte GA-Z77X-UD5H
Memory: 2x4GB Corsair Dominator
Graphics Card: MSI R7770
Monitor: Dell 2208WFP
Mouse: Mionix NAOS 5000
PSU: Corsair 520HX
Case: Thermaltake Mozart TX
Cooling: Thermalright TRUE Black Ultra-120 eXtreme CPU Heatsink Rev C
Hard Drives: 1x180 GB Intel 330 SSD - 1xWD 1 TB Caviar Black - 1xWD 2 TB Caviar Green - 2xWD 3 TB Caviar Green
- Top
- Bottom
Comment
-
Originally posted by Xplorer4x4 View PostThanks james, but problem solved. I was going to update the thread a short while ago but something came up and I was preoccupied for a little bit. You were spot on with the problem. This is in relation to the bash questions thread you replied to(been meaning to get back to you on that one to). I was using useradd to automaticly create users I know it is not the proper way per say, but I didn't realize the crucial differences with in the two in regards to default shell environments. In this case, the box was set to use dash by default. Once I moded the user to use bash, everything starting working as it should.
The only really difference is useradd takes all the options as arguments and adduser asks you what you want to do.
ie:
Code:useradd -s /bin/bash USER
You can change the defaults (what gets selected when you don't pass the argument) by running
Code:useradd -D -s /bin/bash
- Top
- Bottom
Comment
-
Setting it as default seems acceptable as I don't see a need for me to use dash over bash. Thanks for the tips James! Short and to the point as usual.OS: Kubuntu 12.10/Windows 8
CPU: Intel Core i7 2600K
Motherboard: Gigabyte GA-Z77X-UD5H
Memory: 2x4GB Corsair Dominator
Graphics Card: MSI R7770
Monitor: Dell 2208WFP
Mouse: Mionix NAOS 5000
PSU: Corsair 520HX
Case: Thermaltake Mozart TX
Cooling: Thermalright TRUE Black Ultra-120 eXtreme CPU Heatsink Rev C
Hard Drives: 1x180 GB Intel 330 SSD - 1xWD 1 TB Caviar Black - 1xWD 2 TB Caviar Green - 2xWD 3 TB Caviar Green
- Top
- Bottom
Comment
Comment