Some users have installed BackTrack for their computer, which is a professional Linux operating system for computer security detection. However, many users are still in the learning phase of this system, so the operations are not very skilled. Some users have questions about how to start the SSH service in the BackTrack system. Today, Xiaobian will help you solve this problem.
Solution:
Since BackTrack is based on ubuntu, start /etc/init.d/ssh start
and then connect remotely and find an error.
This is how it happened, usually not used debian series, looked under /var /log /messages also found no error message.
Checked online, the original two files are missing (redhat\\centos is by default), the host two key files.
The default is visible in /etc/ssh/sshd_config:
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
I haven't seen 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
No need to reboot, then connect and you will find it right.
The above is the way to start the SSH service in the BackTrack system. Users who are learning how to use the BackTrack operating system can collect this little trick in case they need it from time to time.
7zip is an open source compression software that can be used for file extraction. I
selinux is a Linux security subsystem, is a mandatory access control security module, then how to sh
expr is a command in the Linux system, can be used for the operation of computer st
In Linux systems, route forwarding refers to a protocol in which signals are transf
Linux system safely delete files skills
How to install and use Makeself
How to use the echo command in Linux?
How to remove the plus sign after the Linux Kernel version number?
How to install LAMP in yum in CentOS6.5 system
How to turn off recovery mode in Ubuntu 12.04 system
Linux manual shutdown of the firewall steps
Solution with fstab file error causing Linux to fail to start
What should I do if I get an error when compiling PARSEC 2.1 under Ubuntu?
Win7 OS Detailed User Account Control feature (2)
different from the
Retrieve Windows 8 Start Menu Start8 New Release
Win7 system sets the display black screen but not the way to sleep
Win7/win8 system how to view WIFI password
Daping home repair computer is good?
Let win8.1 system keyboard digital lock button automatically open method
Win7 browser prompts Shockwave Flash crash how to solve
How to do notebook wifi sharing failure error code 1203 how to deal with
XP users upgrade Win10 is free? XP wants to upgrade Win10 need to take money