ssh is the command to initiate a Ssh connection.. e.g. ssh remotehost mysql would attempt to connect to host 'remotest' and run the command 'mysql' as your current user.
– Simon BanksJun 29 '21 at 16:12
Which version of Ubuntu are you running on your local computer? Which version of Ubuntu are you running on the SQL server?
– user68186Jun 29 '21 at 16:17