Fix SSH server port always displayed 22 in the preferences window regardless actual setting