How to make srv record for ssh?

I got the port 2107 for ssh and I want to connect it with ssh.mydomain.se without typing in the port in putty? so is it possible to connect 123.456.78.9:2107 to ssh.mydomain.se?


Solution 1:

I don't think Putty or the default OpenSSH client support SRV records (though it is suggested that ssh on OSx does support it).

There are wrapper scripts e.g. this one for the command line OpenSSH client to do the look up first.