当前位置:网站首页>About Kali using xshell connection
About Kali using xshell connection
2022-06-29 17:08:00 【Full stack programmer webmaster】
Lead to xshell And other connection tools can't connect
The operation is as follows
2020 Version of kali It's not created by default root Account
sudo -i
password : The password of your own account
Switch to root Account Access permissions vim /etc/ssh/sshd_config edit sshd The configuration file
find #PermitRootLogin prohibit-password, Ahead of # Get rid of , And will “prohibit-password” It is amended as follows YES
find PasswordAuthentication This business , Ahead of # No. note removed , If it says no, Need to be modified to yes
Esc Exit the editor , Input :wq enter , Finish editing
/etc/init.d/ssh restart
Restart successfully , Connect
see IP
[email protected]:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:3b:f2:88 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.129/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
valid_lft 1139sec preferred_lft 1139sec
inet6 fe80::20c:29ff:fe3b:f288/64 scope link noprefixroute
valid_lft forever preferred_lft forevershell Connect
[E:\Xshell\Sessions]$ ssh 192.168.1.129Set up ssh Boot from boot
[email protected]:~# systemctl enable ssh.service
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ssh
Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/101932.html Link to the original text :https://javaforall.cn
边栏推荐
- Function calculation asynchronous task capability introduction - task trigger de duplication
- 全面剖析Seata 分布式事务 AT 与XA
- 可转债策略之---(摊饼玩法,溢价玩法,强赎玩法,下修玩法,双低玩法)
- 卷妹带你学jdbc—2天冲刺Day1
- 固定资产管理系统让企业动态掌握资产情况
- A user level thread library based on C language
- C comparison of the performance of dapper efcore sqlsugar FreeSQL hisql sqlserver, an ORM framework at home and abroad
- Simulink simulation mode
- GNN notes: message propagation model
- Graduates are confused and middle-aged people are anxious. How can the career path become wider and wider?
猜你喜欢

Calibration of binocular camera based on OpenCV

curl: (56) Recv failure: Connection reset by peer

使用kalibr标定工具进行单目相机和双目相机的标定

疫情居家外包项目之协作开发| 社区征文

A simple but scalable feature normalization method

curl: (56) Recv failure: Connection reset by peer

c# 国内外ORM 框架 dapper efcore sqlsugar freesql hisql sqlserver数据常规插入测试性能对比

windows平台下的mysql启动等基本操作

mysql数据库扫盲,你真的知道什么是数据库嘛

How to configure logback? 30 minutes for you to thoroughly learn the code to stay up late and knock
随机推荐
kotlin基础语法
Inheritablethreadlocal resolves message loss during message transmission between parent and child threads in the thread pool
2020版KALI安装教程
Simulink仿真模式
深圳内推 | 深圳计算科学研究院招聘机器学习助理工程师(校招)
关于onReachButton 不触发可能原因
In order to prevent being rectified after 00, a company requires employees not to sue the company
Which parameter is the partition information adjusted? The MySQL source stream API is used, not the table API
研究所的这些优势真香!上岸率还极高!
flink sql rownumber 报错。谁遇到过啊?怎么解决?
windows平台下的mysql启动等基本操作
Calibration of monocular camera and binocular camera with kalibr calibration tool
Fluent的msh格式网格学习
Word2vec vector model of Wiki Chinese corpus based on deep learning
Picture and text show you how to thoroughly understand the atomicity of MySQL transaction undolog
PancakeSwap技术:夹子机器人系统开发原理
固态存储厂商忆联加入龙蜥社区,共建开源新生态
In depth analysis of Monai (I) data and transforms
元代理模型可迁移对抗攻击
A user level thread library based on C language