小编ora*_*als的帖子

图形文件管理器支持通过 SSH 连接到双 2FA 保护的服务器?

我曾经能够使用 nautilus 并转到位置栏和“ssh://blah@blahserver.com”进入远程服务器并执行诸如拖放文件之类的操作。但是,该远程服务器使用 duo 添加了两因素身份验证(例如,如果我ssh在终端中,在提供正确的密码后,我现在必须执行 duo 2FA。

Duo two-factor login for nouyang

Enter a passcode or select one of the following options:

 1. Duo Push to XXX-XXX-1234
 2. Phone call to XXX-XXX-1234

Run Code Online (Sandbox Code Playgroud)

如果我尝试在 nautilus 中使用 ssh,它只会询问我三次密码,然后失败(或旋转一段时间并说"oops! unhandled error message: timed out when logging in")。

我真的很喜欢图形界面,因为另一种选择是scp但现在每次使用时scp我也必须经历这个过程。有什么办法吗?

GNOME nautilus 3.26.4
Run Code Online (Sandbox Code Playgroud)

ssh nautilus two-factor-authentication

5
推荐指数
1
解决办法
496
查看次数

标签 统计

nautilus ×1

ssh ×1

two-factor-authentication ×1