vortinuts.blogg.se

Grsync non regular files
Grsync non regular files











grsync non regular files

ĭon’t forget you need to allow the new port through your firewall or router. Check this netstat article to know which services are running on which TCP/UDP ports.įor example, here I use port number 1431. Make sure you are using a unique number which is not used by existing services. I recommend you to choose any number which is very hard to guess. Uncomment and change the port number of your choice. To do this, open and edit the SSH configuration /etc/ssh/sshd_config file: # vi /etc/ssh/sshd_configįind the following line. We should change our remote server’s SSH port to tighten the security.

#Grsync non regular files how to

Here we will see how to sync files and folders using rsync with non-standard SSH port.Īs you might know, rsync, also known as Remote Sync, is a fast, versatile, and powerful tool that can be used to copy and sync files/directories from local to local, or local to remote hosts Change SSH Port to Non-standard PortĪs we all know, By default rsync uses default SSH port 22 to sync files over local to remote hosts and vice versa. In such cases, how will you sync your files/folders with your Remote server? No worries, It is not that difficult. So, It is mandatory to change your SSH default port number to something different which is very hard to guess. Everybody knows 22 is the SSH default port. You might wonder why do we need to use non-standard SSH port? It is because of security reasons. Today, we will be discussing about how to sync files using rsync with non-standard SSH port.













Grsync non regular files