Suning “sells unable to sell”


First download a latest version of VMware Workstation

Then download a Kali Linux mirror file to create a virtual machine and use CD/DVD to install Kali Linux mirror file.

  1. 1. Configure SSH parameters

    Modify the sshd_config file, the command is:

    vi /etc/ssh/sshd_config

    Remove the annotation of #passWordAuthentication No, and modify NO to yes default in yes // kali

  2. Modify PermitrootLogin without-Password to be modified into

    PermitRootLogin yes

  3. Then save and exit Vim.

  4. 2. Start SSH service


    /etc/init.d/ssh start 


    service ssh start

    View whether the SSH service status runs normally, the command is:

    /etc/init.d/ssh status


    service ssh status

  5. 3. Use the SSH login tool

  6. After entering the user name and password, if you use the SSH connection tool, you still cannot connect to the Kali 2.0, as shown in the figure below:

  7. So you want to form two keys:

    #ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

    #ssh-keygen -t dsa -f /etc/ssh/ssh_host_rsa_key

    After executing the command, the input password will be allowed, and the car is set directly to the empty.

  8. Use the SSH connection tool to connect Kali again, and successfully get it!

  9. 4. Set the system to automatically start the SSH service

    Method 1:


    sysv-rc-conf –list | grep ssh

    sysv-rc-conf to ssh on // The system automatically starts the SSH service

    sysv-rc-conf to ssh off // Close the system to automatically start the SSH service

    Method 2:

    Update-rc.d ssh enable // System automatically start the SSH service

    Update-rc.d ssh disabled // Close the system to automatically start the SSH service



Related Posts

Android progress bar style

1 feature extract Ghost

HDU5536 Chip Factory 【01 dictionary tree】

Count The Colors Zoj -1610 Line Section Tree (You can pass violent water) YCQ

Suning “sells unable to sell”

Random Posts

Center 7 deploy mysqlkevin

PYQT5 Chinese File Dialog box QFILEDIALOG The solution to collapse after calling

CHROME Performance Analysis Panel Performance

Use spark, ANSJ segmentation to perform frequent statistics

[244 Issue] The back slope \\ in mysql, too pit! Intersection