I want to change the SSH/SFTP port from port 22 to a non-standard port. Will this break the 9090 web interface? TIA!
If you are referring to the terminal screen inside cockpit, then it hasnāt done when I just changed my SSH port. But then cockpit was local on the same machine that I did this on. Not sure what it will be like if you use for example a single cockpit instance to connect to other servers. But you can try it and see what happens. If it does, then change the port back to 22.
I donāt use cockpit, but I do have multiple āconnection aliasesā in ~/.ssh/config
Host foo
User bar
HostName gaz.mydomain
Port 12345
Presumably, if you add such entry to /etc/ssh/ssh_config.d/rockandroller.conf
, then every user of ssh client in that machine ā including the cockpit ā should be able to ssh foo
, rather than requiring the ssh -p 12345 bar@gaz.mydomain
.
OK, I changed SSHD to run on my custom port, (after configuring selinux and my firewall accordingly!) and it works fine - no problem using the ācockpitā 9090 web consoleās terminal
thanks for all the hints