To start the SSH service under backtrack

Source: Internet
Author: User
Tags ssh

Recently want to install a backtrack study. I got it. found that the SSH service is not turned on by default.


Accustomed to SSH login command line operation, so look at how to start.


Since BT was developed based on Ubuntu, start the next/etc/init.d/ssh start

Then the remote connection, found the error.


This is how the matter, usually did not use the Debian series, looked at the next/var/log/messages also did not find the error information.

Online Check the next, the original two files are less (Redhat\centos by default), host two key files.

The default in/etc/ssh/sshd_config can be seen in the indicated:


#HostKey/etc/ssh/ssh_host_rsa_key
#HostKey/etc/ssh/ssh_host_dsa_key

Look under the BT without these two files, new under the bar:

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
You don't have to reboot, you can connect and you'll find the right.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.