Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to start SSH service in BackTrack system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to start SSH service in BackTrack system". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to start SSH service in BackTrack system.

Solution:

Since BackTrack is based on ubuntu, start / etc/init.d/ssh start first

Then under the remote connection, the error is found.

How is this going on, usually did not use the debian series, looked at / var/log/messages also did not find the error message.

Checked on the Internet, it turns out that there are two files missing (redhat\ centos is available by default) and two key files on the host.

By default, you can see the indication in / etc/ssh/sshd_config:

# HostKey / etc/ssh/ssh_host_rsa_key

# HostKey / etc/ssh/ssh_host_dsa_key

After taking a look at the absence of these two files under bt, create a new one:

Root@BT:/#ssh-keygen-t rsa-f / etc/ssh/ssh_host_rsa_key

Root@BT:/#ssh-keygen-t dsa-f / etc/ssh/ssh_host_dsa_key

There is no need to restart, connect again and you will find that it is right.

At this point, I believe you have a deeper understanding of "how to start the SSH service in the BackTrack system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report