GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH throws garbage !!
Operating System - HP-UX
1846603
Members
1552
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 05:08 AM
10-09-2008 05:08 AM
SSH throws garbage !!
Hi all ,
I have a system when I try to SSH I am getting garbage on the system.
I am working on 11.11 server and when do a SSH it throws me garbage and I am able to telnet.
I am using a reflections terminal session set to vt100 , When I use putty same issue.
I have a system when I try to SSH I am getting garbage on the system.
I am working on 11.11 server and when do a SSH it throws me garbage and I am able to telnet.
I am using a reflections terminal session set to vt100 , When I use putty same issue.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 05:18 AM
10-09-2008 05:18 AM
Re: SSH throws garbage !!
Hi All ,
This issue with all the users and no recent changes to the system.
Thanks in advance
Titu
This issue with all the users and no recent changes to the system.
Thanks in advance
Titu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 06:05 AM
10-09-2008 06:05 AM
Re: SSH throws garbage !!
As the people in the VMS forum suggested,
some description of the actual commands you
used, and the actual output you got, would be
more helpful than a description so vague as
"throws me garbage".
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1276855
And, as also already suggested (more or
less), adding "-v" to your "ssh" command
might be helpful, too.
some description of the actual commands you
used, and the actual output you got, would be
more helpful than a description so vague as
"throws me garbage".
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1276855
And, as also already suggested (more or
less), adding "-v" to your "ssh" command
might be helpful, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 06:04 PM
10-09-2008 06:04 PM
Re: SSH throws garbage !!
So you cannot read anything on the screen after typing ssh, correct? Or did you mean that you do see the login and profile steps but certain commands like sam or other menu programs have wrong characters? This condition means that someone has hardcoded TERM=something in /etc/profile or .profile, .kshrc, .bashrc, etc. Reflection is a very accurate and powerful emulator whiloe putty is a simple VT emulator. You must match the terminal characteristics to the environment. HP-UX has very nifty program called ttytype which will properly set these values.
So find all occurrences of TERM= (and LINES=, COLUMNS= and ERASE=) and comment or remove them. Remove the TERM code in /etc/profile and replace it with:
eval $(ttytype -sa)
This works for all terminal emulators and solves the problem of garbage characters and backspace keys that don't work. NOTE: the rp systems with a GSP or MP console bypass ttytype (don't ask) and override the console type. The key is to avoid using the GSP/MP port for anything except command lines.
Bill Hassell, sysadmin
So find all occurrences of TERM= (and LINES=, COLUMNS= and ERASE=) and comment or remove them. Remove the TERM code in /etc/profile and replace it with:
eval $(ttytype -sa)
This works for all terminal emulators and solves the problem of garbage characters and backspace keys that don't work. NOTE: the rp systems with a GSP or MP console bypass ttytype (don't ask) and override the console type. The key is to avoid using the GSP/MP port for anything except command lines.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP