Highest portnumber you can select for ssh is 32768.. Reproducible: Always Steps to Reproduce:
knetattach has a hardcoded maximum port value of 32768 (for all protocols, not just ssh). Please file a bug at bugs.kde.org.
http://bugs.kde.org/show_bug.cgi?id=108440