mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-10 14:30:03 +00:00
fix #4060: trim spaces for ssh host
This commit is contained in:
parent
722f91da0c
commit
b3b6ca6f43
@ -135,7 +135,7 @@ export class SSHService {
|
||||
}
|
||||
|
||||
ssh.connect({
|
||||
host: session.connection.host,
|
||||
host: session.connection.host.trim(),
|
||||
port: session.connection.port ?? 22,
|
||||
sock: session.proxyCommandStream ?? session.jumpStream,
|
||||
username: session.connection.user,
|
||||
|
Loading…
x
Reference in New Issue
Block a user