- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How To Change SSH Listener Port?
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
тАО11-13-2007 04:36 AM
тАО11-13-2007 04:36 AM
PSC's SSH for OpenVMS was easy to change by editing the server config file. I am now trying to do the same for HP's TCPIP for OpenVMS v5.4 ECO 6 (soon to be ECO 7). The obvious (to me) place is in the "SSHD2_Config." file where the "Port" parameter is stored. No Joy. Apparently this does not contol the port.
The TCPIP$Config seems to be hard coded to create the service on port 22. I have also looked into direct changes with
$ TCPIP Set Service SSH /Port=xxx
but even though TCPIP reports the service is listening on xxx, it is not and is still on port 22.
I did find a passing reference in the manual I could find about a job/process logical name, TCPIP$SSH_AGENT_PORT, but it was not clear to me how to use it.
Any ideas or suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 05:32 AM
тАО11-13-2007 05:32 AM
Re: How To Change SSH Listener Port?
Did you disable then re-enable the service?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 05:47 AM
тАО11-13-2007 05:47 AM
Re: How To Change SSH Listener Port?
$tcpip set service ssh /port=xxxx/prot=tcp/flag=tcpip/user=tcpip$ssh -
/process=tcpip$ssh /file=tcpip$system:TCPIP$SSH_RUN.COM -
/limit=10000 /reject=message="TCPIP SSH Connection refused" -
/log=(file:tcpip$ssh_device:[tcpip$ssh]tcpip$ssh_run.log, all)
I also had "SSHD2_Config." set with "Port xxxx" and made a system logical
Define/System TCPIP$SSH_Agent_Port xxxx
After all that, I used TCPIP$SSH_Startup and checked to find that the SSH server still was listening on Port 22.
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 06:54 AM
тАО11-13-2007 06:54 AM
Re: How To Change SSH Listener Port?
TCPIP SET NOSERVICE SSH
then do your TCPIP SET SERVICE SSH /PORT=nnnn blah blah
then do TCPIP ENABLE SERVICE
Worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:14 AM
тАО11-13-2007 08:14 AM
Re: How To Change SSH Listener Port?
I am also going to upgrade to ECO 7 first. There are a lot of SSH-related fixes. So I want to get caught up and then make changes. :)
I will have to wait until I am able to get in front of this test box. I only have SSH into it remotely, so it is hard to change config and restart!
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:26 AM
тАО11-13-2007 08:26 AM
Re: How To Change SSH Listener Port?
I see from your log that you got the appearance of it working. I too had the SSH service reporting it was listening on port xxxx. However, when I actually tried to connect to it, nothing responded until I hit port 22.
Can you confirm that the box you changed in your log capture, actually worked to respond to an incoming SSH connection on port 2222 and NOT on 22?
rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:39 AM
тАО11-13-2007 08:39 AM
Re: How To Change SSH Listener Port?
I created a Smarterm SSH session to the VMS system. I used port 2222 and it works. I also attached a log of show device_sockets while I was logged in through ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:41 AM
тАО11-13-2007 08:41 AM
Re: How To Change SSH Listener Port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:41 AM
тАО11-13-2007 08:41 AM