Operating System - OpenVMS
1752277 Members
4677 Online
108786 Solutions
New Discussion юеВ

how do I change ssh port in vms 8.3

 
SOLVED
Go to solution
merrittr
New Member

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 4
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
New Member

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