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
|
@ -16,6 +16,7 @@ use gpui::{
|
|||
};
|
||||
use picker::Picker;
|
||||
use project::Project;
|
||||
use remote::ssh_session::ConnectionIdentifier;
|
||||
use remote::SshConnectionOptions;
|
||||
use remote::SshRemoteClient;
|
||||
use settings::update_settings_file;
|
||||
|
@ -384,7 +385,7 @@ impl RemoteServerProjects {
|
|||
let ssh_prompt = cx.new_view(|cx| SshPrompt::new(&connection_options, cx));
|
||||
|
||||
let connection = connect_over_ssh(
|
||||
connection_options.remote_server_identifier(),
|
||||
ConnectionIdentifier::Setup,
|
||||
connection_options.clone(),
|
||||
ssh_prompt.clone(),
|
||||
cx,
|
||||
|
@ -475,7 +476,7 @@ impl RemoteServerProjects {
|
|||
.clone();
|
||||
|
||||
let connect = connect_over_ssh(
|
||||
connection_options.remote_server_identifier(),
|
||||
ConnectionIdentifier::Setup,
|
||||
connection_options.clone(),
|
||||
prompt,
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue