05-09-2019, 04:10 PM
@Melvin I probably don't understand exactly what you want. Like is what you want for your VPS to listen on a different port than Port 22? As that can be changed. If I have that correct in what you are wanting, you can check the tutorial below:
https://post4vps.com/thread-2151-post-25...l#pid25826
The above tutorial is for CentOS but I'm sure you can use it similarly with Debian.
Be careful though when you try to change Ports. I learned the hard way to do the port change BEFORE I load any script or do anything major that works with ports. Like it makes sense that if you change the port, after you have loaded scripts that "sensed" the current port you're using, that if you changed that port, without changing the script port specs, that you'll no longer be able to use the panel and there's also a good chance you can lock yourself out of the VPS.
So steps when I start a VPS is mostly, change password first, then change the port, and then do everything else after that. You can change the ports after you loaded scripts, but you have to know what you're doing to figure out exactly where you need to make the port changes in the script you loaded. For me that's too much trouble to figure out. I rather have the ports changed right at the beginning before I work with anything else.
https://post4vps.com/thread-2151-post-25...l#pid25826
The above tutorial is for CentOS but I'm sure you can use it similarly with Debian.
Be careful though when you try to change Ports. I learned the hard way to do the port change BEFORE I load any script or do anything major that works with ports. Like it makes sense that if you change the port, after you have loaded scripts that "sensed" the current port you're using, that if you changed that port, without changing the script port specs, that you'll no longer be able to use the panel and there's also a good chance you can lock yourself out of the VPS.
So steps when I start a VPS is mostly, change password first, then change the port, and then do everything else after that. You can change the ports after you loaded scripts, but you have to know what you're doing to figure out exactly where you need to make the port changes in the script you loaded. For me that's too much trouble to figure out. I rather have the ports changed right at the beginning before I work with anything else.