[GH-ISSUE #2339] 请问支持ssh堡垒机了吗 #1493

Open
opened 2026-02-27 00:03:45 +03:00 by kerem · 7 comments
Owner

Originally created by @G-GitCoder on GitHub (Dec 28, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2339

host 地址里使用堡垒机https地址,连接时返回addressinfo NOTFOUND

Originally created by @G-GitCoder on GitHub (Dec 28, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2339 host 地址里使用堡垒机https地址,连接时返回addressinfo NOTFOUND
Author
Owner

@hope250 commented on GitHub (Dec 28, 2021):

反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。

<!-- gh-comment-id:1001883554 --> @hope250 commented on GitHub (Dec 28, 2021): 反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。
Author
Owner

@zxdong262 commented on GitHub (Dec 28, 2021):

反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。

设置里把Keepalive interval设置的短一些,看看?

<!-- gh-comment-id:1001896910 --> @zxdong262 commented on GitHub (Dec 28, 2021): > 反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。 设置里把Keepalive interval设置的短一些,看看?
Author
Owner

@hope250 commented on GitHub (Dec 28, 2021):

反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。

设置里把Keepalive interval设置的短一些,看看?

缩短Keepalive interval无效。大约90秒左右吧,就断开了。

我现在的设置是:
ssh/sftp超时时间(毫秒): 30000
Keepalive间隔(ms): 10000

<!-- gh-comment-id:1001901641 --> @hope250 commented on GitHub (Dec 28, 2021): > > 反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。 > > 设置里把Keepalive interval设置的短一些,看看? 缩短Keepalive interval无效。大约90秒左右吧,就断开了。 我现在的设置是: ssh/sftp超时时间(毫秒): 30000 Keepalive间隔(ms): 10000
Author
Owner

@lp8608 commented on GitHub (Dec 29, 2021):

同问

<!-- gh-comment-id:1002588238 --> @lp8608 commented on GitHub (Dec 29, 2021): 同问
Author
Owner

@fakeroot-lu commented on GitHub (Jan 5, 2022):

Me too.

<!-- gh-comment-id:1005344401 --> @fakeroot-lu commented on GitHub (Jan 5, 2022): Me too.
Author
Owner

@zxdong262 commented on GitHub (Jan 23, 2022):

反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。

设置里把Keepalive interval设置的短一些,看看?

缩短Keepalive interval无效。大约90秒左右吧,就断开了。

我现在的设置是: ssh/sftp超时时间(毫秒): 30000 Keepalive间隔(ms): 10000

可以试试 Keepalive间隔(ms): 设为1000试试吗

<!-- gh-comment-id:1019435408 --> @zxdong262 commented on GitHub (Jan 23, 2022): > > > 反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。 > > > > > > 设置里把Keepalive interval设置的短一些,看看? > > 缩短Keepalive interval无效。大约90秒左右吧,就断开了。 > > 我现在的设置是: ssh/sftp超时时间(毫秒): 30000 Keepalive间隔(ms): 10000 可以试试 Keepalive间隔(ms): 设为1000试试吗
Author
Owner

@hope250 commented on GitHub (Jan 23, 2022):

反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。

设置里把Keepalive interval设置的短一些,看看?

缩短Keepalive interval无效。大约90秒左右吧,就断开了。
我现在的设置是: ssh/sftp超时时间(毫秒): 30000 Keepalive间隔(ms): 10000

可以试试 Keepalive间隔(ms): 设为1000试试吗

如果设置为 1000 ms,那更不堪,从登录成功堡垒机,计数,大概10秒,就自动断开了。

不论设置如何调整,命令行连接堡垒机都工作正常

<!-- gh-comment-id:1019436823 --> @hope250 commented on GitHub (Jan 23, 2022): > > > > 反正我连阿里云的堡垒机,能连,但是1分钟多会自动断开。但是如果用SSH命令行直接连,反而没事。 > > > > > > > > > 设置里把Keepalive interval设置的短一些,看看? > > > > > > 缩短Keepalive interval无效。大约90秒左右吧,就断开了。 > > 我现在的设置是: ssh/sftp超时时间(毫秒): 30000 Keepalive间隔(ms): 10000 > > 可以试试 Keepalive间隔(ms): 设为1000试试吗 如果设置为 1000 ms,那更不堪,从登录成功堡垒机,计数,大概10秒,就自动断开了。 不论设置如何调整,命令行连接堡垒机都工作正常
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1493
No description provided.