Summary of problems encountered in installing Kali Linux __linux

Source: Internet
Author: User
Tags root access kali linux

Every time is to solve the problem to write a blog, feel again to roll back to find material good trouble, ah ~ a grumble.

Recently hooked on the Internet security, so decided to try to fiddle with two, according to the online found tutorial, to install the virtual machine, according to Step-by-Step steps to install, start installing VMware Tools.

Click the Install Vmwaretools option in the VMware menu and extract the files from the CD drive to the desktop

CD Desktop

CD Vmware-tools

./vmtools-install.pl

Then according to the prompts all kinds are, a variety of carriage returns, a large pile of birds, really lazy to see,

The enjoy is displayed after the installation. --vmware Team

Very happy to think that the installation was well, but, and did not ~

Reboot, and can not drag the host file into the virtual machine, the virtual machine files can not be.

Start thinking about whether to build a virtual machine when the operating system is wrong, the resulting vmtools can not be used,

So Baidu under the kali2.0 of the core, after checking, is a Debian Jessie, that is DEBIAN8 core

Then reinstall ~ ~ ~

And then install the result or fail

Then Baidu went down Kali2.0 install the virtual machine

Baidu experience to display before installation to perform linux-headers-$ (UNAME-R)

Then execute, and the result appears:

E: Unable to locate package Linux-headers-4.3.0-kali1-686-pae
E: Unable to find any packages according to Glob ' Linux-headers-4.3.0-kali1-686-pae '
E: Unable to find any packages according to regular expression linux-headers-4.3.0-kali1-686-pae

For just contact with Linux I feel to crash ah ~ ~ What the hell is this?

As a then, I then Baidu, Baidu, said is the source of the problem, to modify the/etc/apt/source.list file, by modifying his to update the source

Then update the various sources ... Failure ~ ~ ~

Really die, Fq to Google it, finally found a clue in Google (had to spit slot, Baidu you really are delaying me for a long time)

Originally Kali2.0 's official website has already explained, the official has developed a vmtools tool, good collapse ~ ~ ~ ~

Https://www.kali.org/news/kali-linux-rolling-edition-2016-1/, this is an official statement.

Finally find the next, in fact, only need this:

Add Update source First: Deb Http://mirrors.ustc.edu.cn/kali kali-rolling main Non-free contrib

Apt-get Update

Apt-get Dist-upgrade

Reboot

Apt-get Update

Apt-get Install Open-vm-tools-desktop Fuse

Reboot

----------------------------------------Kali linux boot ssh service----------------------------------------------------

Source: http://os.51cto.com/art/201703/533233.htm?pc

introduce

Purpose

Our aim is to install SSH (Secure shell) on Linux Kali.

Required

You need to have privileged access to your Kali Linux installation or Live system.

Degree of difficulty

It's easy!

Convention #-a given command needs to run as root or use sudo command $-a given command to run with a user with regular permissions

Guide

Installing SSH

To install the SSH pack from the terminal using the Apt-get command:

# apt-get Update # apt-get install SSH

enable and start using SSH

To make sure that the security shell is available, use the SYSTEMCTL command to enable it after restarting the system:

# Systemctl Enable SSH

To use SSH in the current dialog execution:

# service SSH Start

allow SSH Root access

SSH does not allow you to log on as root by default, so the following error message appears:

Permission denied, please try again.

To access your Kali Linux system via SSH, you can have two different options. The first option is to create a new unprivileged user and then use its identity to log on. As a second option, you can access SSH as root user. For this to happen, you need to insert or edit the following lines in the SSH configuration file/etc/ssh/sshd_config:

Will

#PermitRootLogin Prohibit-password

To

Permitrootlogin Yes

Kali Linux enable SSH root access

After you make changes to/etc/ssh/sshd_config, restart the SSH service before you log on to SSH as root:

# Service SSH Restart

UPDATE-RC.D SSH enable//system automatically start SSH service

UPDATE-RC.D SSH Disabled//shutdown system automatically start SSH service

Related Article

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.