securecrt和linux区别,Debian/Ubuntu下替代secureCRT的软件有么?

本文探讨了如何在 Illidian 的Demon Hunter作品中,遇到因服务器未开启公钥认证导致的SSH登录问题,重点讲解了.ssh/config文件的作用以及如何确认和解决权限限制。作者提到即使知道如何配置key,如果服务器不支持,仅凭用户名和密码无法实现免密登录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

你确定对方没启用?这个一般默认是打开的。.ssh/config 是本地客户端的设置,用key登陆需要服务器授权。

转个 man sshd_config:

AuthenticationMethods

Specifies the authentication methods that must be successfully completed for a user to be granted

access.  This option must be followed by one or more comma-separated lists of authentication method

names.  Successful authentication requires completion of every method in at least one of these lists.

For example, an argument of “publickey,password publickey,keyboard-interactive” would require the user

to complete public key authentication, followed by either password or keyboard interactive authentica‐

tion.  Only methods that are next in one or more lists are offered at each stage, so for this example,

it would not be possible to attempt password or keyboard-interactive authentication before public key.

For keyboard interactive authentication it is also possible to restrict authentication to a specific

device by appending a colon followed by the device identifier “bsdauth”, “pam”, or “skey”, depending on

the server configuration.  For example, “keyboard-interactive:bsdauth” would restrict keyboard interac‐

tive authentication to the “bsdauth” device.

This option is only available for SSH protocol 2 and will yield a fatal error if enabled if protocol 1

is also enabled.  Note that each authentication method listed should also be explicitly enabled in the

configuration.  The default is not to require multiple authentication; successful completion of a single

authentication method is sufficient.

【 在 Illidian (Demon Hunter) 的大作中提到: 】

: 是你没认真看我的回帖吧

: 设置key这个我会啊, 我的意思是, 对方服务器就没启用key登录, 我也不是root, 我只有用户名和密码, .ssh/config 可以做到免密登录吗?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值