fix: imported servers from ssh config are the same (#882)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-09-01 23:06:58 +08:00
committed by GitHub
parent ee22cdb55f
commit 4ec7f5895e
4 changed files with 35 additions and 15 deletions

View File

@@ -63,6 +63,7 @@ abstract final class SSHConfig {
void addServer() {
if (currentHost != null && currentHost != '*' && hostname != null) {
final spi = Spi(
id: ShortId.generate(),
name: currentHost,
ip: hostname,
port: port,