Remoting: Fix connecting to servers with long hostnames (#20093)
Closes #20018 Release Notes: - Remoting: Fixed connecting to hosts with long (>~50 character) hostnames
This commit is contained in:
parent
273173ec8a
commit
b5c38e9a09
7 changed files with 50 additions and 34 deletions
|
@ -14,6 +14,7 @@ use gpui::{AppContext, Model};
|
|||
use language::CursorShape;
|
||||
use markdown::{Markdown, MarkdownStyle};
|
||||
use release_channel::ReleaseChannel;
|
||||
use remote::ssh_session::ConnectionIdentifier;
|
||||
use remote::{SshConnectionOptions, SshPlatform, SshRemoteClient};
|
||||
use schemars::JsonSchema;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
@ -534,7 +535,7 @@ pub fn is_connecting_over_ssh(workspace: &Workspace, cx: &AppContext) -> bool {
|
|||
}
|
||||
|
||||
pub fn connect_over_ssh(
|
||||
unique_identifier: String,
|
||||
unique_identifier: ConnectionIdentifier,
|
||||
connection_options: SshConnectionOptions,
|
||||
ui: View<SshPrompt>,
|
||||
cx: &mut WindowContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue