---
title: 启动开发者套件后发现无法SSH登录
description: "Ubuntu 22.04系统重装升级后，启动开发者套件后发现无法SSH登录。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Appendices/faq/faq_0015.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Appendices/faq/faq_0015.html
indexId: 71a045a148f80cafd4df30cbc9b5eeddd361ee27ccaa5409d8985006d33ea32874
---
# 启动开发者套件后发现无法SSH登录

#### 现象描述

Ubuntu 22.04系统重装升级后，启动开发者套件后发现无法SSH登录。


#### 可能原因

开发者套件SSH服务异常。


#### 解决方案

执行以下ssh-keygen命令重新生成SSH主机秘钥，并重启sshd服务：

```
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
systemctl restart sshd
```
