HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

how do I change ssh port in vms 8.3

 
SOLVED
Go to solution
merrittr
Occasional Visitor

how do I change ssh port in vms 8.3



Hi I am running openvms 8.3 using the HP TCPIP stack vers 5.6 what I want to do is change the ssh port from 22 to 99 to avoid the teenage hackers probing my machine and filling op log with crap how do I go about this?
4 REPLIES
Steven Schweda
Honored Contributor

Re: how do I change ssh port in vms 8.3

TCPIP HELP SET SERVICE /PORT
Hoff
Honored Contributor
Solution

Re: how do I change ssh port in vms 8.3

I recommend against exposing OpenVMS to the Internet.

Get yourself a firewall with VPN capabilities, and reasonable port-forwarding.

But as for your question, the following is quoted from this c.o.v. thread:

http://groups.google.com/group/comp.os.vms/browse_thread/thread/b8ddbb6dd533e705

$ tcpip disable service ssh
$ tcpip set noservice ssh
$ tcpip set service ssh /port=2222 /proc=tcpip$ssh/user=tcpip$ssh -
_$ /file=tcpip$system:tcpip$ssh_run.com /proto=tcp/limit=10000 -
_$ /log=(all,file=tcpip$ssh_device:[tcpip$ssh]tcpip$ssh_run.log)
$ tcpip enable service ssh
Andy Bustamante
Honored Contributor

Re: how do I change ssh port in vms 8.3

You realize that will only bring interest in the service running on port 99 picked up on port scans.

You may also want to review the help under TCPIP SET SERVICE /ACCEPT and /REJECT. Unless there's strong reason, access can be locked by a combination of this and deploying VPN solutions.

If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
merrittr
Occasional Visitor

Re: how do I change ssh port in vms 8.3

True enough I will consider that but for now at least the script hackers are fewer