- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Discover PC ip address via putty when connecte...
Operating System - HP-UX
1752550
Members
4908
Online
108788
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО04-04-2011 09:28 PM
тАО04-04-2011 09:28 PM
Re: Discover PC ip address via putty when connected to HPUX server
Hi
I purposely left out that I was multi-hopping. I wanted to see if anyone had gotten over that problem. Thanks for all the help. It would be great if a single putty sign-on was all the link there was. Ill leave the thread open for a few days to see if anyone cracks the route back to source for the IP....
I purposely left out that I was multi-hopping. I wanted to see if anyone had gotten over that problem. Thanks for all the help. It would be great if a single putty sign-on was all the link there was. Ill leave the thread open for a few days to see if anyone cracks the route back to source for the IP....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 05:33 PM
тАО04-05-2011 05:33 PM
Re: Discover PC ip address via putty when connected to HPUX server
I think it would have been more helpful to start with multi-hop. Since there are many ways to connect and no guarantee that the same protocol (telnet, ssh, rlogin, etc) will be used between hops, the only technique is to carry the originating IP with each hop. The only way I know how to do this is with telnet. There is a little known (but sometimes frustrating) option in telnet that carries the current value of TERM to the next destination. So you could do something like this:
TERM=10.11.12.13 telnet nexthop
You'll have to capture $TERM at the top of /etc/profile and save it off for the next hop.
Or run multiple single sessions. I can't tell you how many sysadmins accidentally shutdown the wrong server due to server hopping. I routinely have 5 to 10 PuTTY sessions, all with unique colors using either Connection Manager or Session Manager.
Bill Hassell, sysadmin
TERM=10.11.12.13 telnet nexthop
You'll have to capture $TERM at the top of /etc/profile and save it off for the next hop.
Or run multiple single sessions. I can't tell you how many sysadmins accidentally shutdown the wrong server due to server hopping. I routinely have 5 to 10 PuTTY sessions, all with unique colors using either Connection Manager or Session Manager.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 08:05 AM
тАО04-06-2011 08:05 AM
Re: Discover PC ip address via putty when connected to HPUX server
> I purposely left out [...]
Brilliant.
Brilliant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 06:26 PM
тАО04-06-2011 06:26 PM
Re: Discover PC ip address via putty when connected to HPUX server
of course, the issue was finding a robust way of finding a solution (not tailored to a specific scenario).
Any good SA would and should know this. ..and I humbly accept your accolade ;-)
Any good SA would and should know this. ..and I humbly accept your accolade ;-)
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP