Notes: Xshell, update source, install the software

A, Xshell first ssh connection kali system

  1, Xshell: help us to connect the various services platform to facilitate the management server, the link can be encrypted (ssh / vsftp).

  2, steps:

    step1: open ssh service in kali, service ssh start, detection is turned on success, / etc / init.d / ssh status or netstat -ntulp | grep 22.

    step2: turn off the firewall (currently) /etc/init.d/iptables stop, and then need to find the configuration file ssh, vim / etc / ssh / sshd_config, about 27 or so, and brought forth "#PermintRootLogin prohibit-password" changed to "PermintRootLogin yes "will" #PubkeyAuthentication yes "in # delete, save and exit.

    step3: Restart ssh, service ssh restart, use Xshell connection, the root user or normal user

    srep4: Xshell: File ----> New ----> protocol selection ssh, enter kali host of IP, port 22 is the default, click "Connect", then enter the root account, then enter the password

  It can be connected.

    Note: ssh service can change the port, the need to change the configuration file, port22 ----> port2222

Two, kali replacement update source

  1, vim /etc/apt/sources.list or leafpad /etc/apt/sources.list

  2, the Internet looking for the latest updates copied into the source file sources.list

  3、安装更新: apt-get update&&apt-get upgrade&&apt-get autorclean

Three, kali install software

  To vmtools example:

      apt search open-vm-tools-desktop

      apt-get install open-vm-tools-desktop reboot

Guess you like

Origin www.cnblogs.com/yuanshu/p/11515673.html