彻底移除 SSH 公钥部署路径
删除远程 authorized_keys 写入、PubkeyAuthentication 配置及客户端公钥部署接口,服务器部署仅保留 SSH 密码认证。
This commit is contained in:
1 parent
7778aa5ced
commit
7264149f9c
4 files changed
-103
No files matched your search
@@ -145,8 +145,6 @@ func (c *memoryClient) Run(_ context.Context, command []string) (CommandResult,
|
||||
return result, err
|
||||
}
|
||||
|
||||
func (c *memoryClient) InstallAuthorizedKey(context.Context, string) error { return nil }
|
||||
|
||||
func (c *memoryClient) Close() error { return nil }
|
||||
|
||||
type memoryFactory struct {
|
||||
|
||||
Reference in new issue
Block a user