- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Identify remote port under SSH
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-06-2011 12:19 PM
тАО04-06-2011 12:19 PM
$ MY_PORT == F$GETDVI("TT","TT_ACCPORNAM")
to retrieve the remote port for telnet connections.
When I use this with a SSH connection the remote port information is not returned.
I there a way to get that information either with lexicals or via a system or library call?
Or any other programmatic way for that matter.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 12:37 PM - last edited on тАО08-04-2011 09:28 AM by Kevin_Paul
тАО04-06-2011 12:37 PM - last edited on тАО08-04-2011 09:28 AM by Kevin_Paul
SolutionI tossed the following search query at Google:
/OpenVMS ssh "TT_ACCPORNAM"/
and turned up a number of discussions that might interest you here...
http://h30499.www3.hp.com/t5/General/Getting-F-GETJPI-quot-quot-quot-TT-ACCPORNAM-quot-info-on-SSH/m-p/3805369#M9840
http://h30499.www3.hp.com/t5/Networking/Detecting-SSH-Connections-in-LOGIN-COM/m-p/5260649#M14222
http://groups.google.com/group/comp.os.vms/browse_thread/thread/68d3c7afc3c15bb5/62baf6bf774487e0?show_docid=62baf6bf774487e0&fwc=1#
and probably a few others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 12:39 PM - last edited on тАО08-04-2011 09:29 AM by Kevin_Paul
тАО04-06-2011 12:39 PM - last edited on тАО08-04-2011 09:29 AM by Kevin_Paul
Re: Identify remote port under SSH
Define "the remote port". ("Port" has a
specific meaning in the IP world.)
My Forum search for:
TT_ACCPORNAM ssh
found:
http://h30499.www3.hp.com/t5/Networking/Detecting-SSH-Connections-in-LOGIN-COM/m-p/5260649#M14222
What did yours find?
Around here, for example:
alp $ show logical /job *rem_*
(LNM$JOB_82897580)
"SYS$REM_ID" = "SMS"
"SYS$REM_NODE" = "alp-l.antinode.info::"
"SYS$REM_NODE_FULLNAME" = "alp-l.antinode.info::"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 01:19 PM
тАО04-06-2011 01:19 PM
Re: Identify remote port under SSH
the logical SYS$REM_NODE returns the information I need.
I guess I should start 'tossing' these questions at Google.
Thanks for your help.