send port to server

This commit is contained in:
sawka
2023-03-17 15:07:45 -07:00
parent 920a327f70
commit f7e81b14ae
+3
View File
@@ -861,6 +861,9 @@ class InfoRemoteEdit extends React.Component<{}, {}> {
if (this.sudoBool.get()) {
kwargs["sudo"] = "1";
}
if (this.portStr.get() != "" && this.portStr.get() != "22") {
kwargs["port"] = this.portStr.get();
}
}
kwargs["alias"] = this.alias.get();
kwargs["color"] = this.colorStr.get();