Before showing you how to change the MAC address in Linux, let's first discuss why it should be changed. There may be several reasons. Maybe you don't want to expose your actual MAC address (also known as a physical address) on a public network? It is also possible that the network administrator has blocked specific MAC addresses in the router or firewall. A practical "benefit" is that s...
Open the SSH config file:
sudo vim /etc/ssh/sshd_config
find the line with default port 22. In vim normal-mode (once you opened the vim, it is under normal-mode), find 22, and change it to the port that you want. Remember, don't use the common port, use the port number from 10000~60000.
After that, save the file. and restart the ssh service.
service ssh restart