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