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

你确定对方没启用?这个一般默认是打开的。.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 可以做到免密登录吗?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值