当前位置:网站首页>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
边栏推荐
- C comparison of the performance of dapper efcore sqlsugar FreeSQL hisql sqlserver, an ORM framework at home and abroad
- controller、service、dao之间的关系
- Subgraphs in slam
- Basics | draw arcs in the physics engine
- Practice | extreme optimization of script errors - make script errors clear at a glance
- Paper notes: e (n) equivariant graph neural networks
- Real test = "half product + Half development"?
- When MySQL RDS is collected using Flink CDC, the datetime type field will be compared with the source table after collection
- Actual combat | magical conic gradient
- 深圳内推 | 深圳计算科学研究院招聘机器学习助理工程师(校招)
猜你喜欢

Comprehensive analysis of Seata distributed transaction at and XA
![[R language data science]: Text Mining (taking Trump's tweet data as an example)](/img/4f/09b9885915bee50fb40976a5002730.png)
[R language data science]: Text Mining (taking Trump's tweet data as an example)

基于opencv进行双目相机的标定

Tencent cloud released the upgraded version of CDW Clickhouse to provide a fast experience for massive data real-time analysis scenarios

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

基于深度学习的Wiki中文语料词word2vec向量模型

Fluent的msh格式网格学习

Why is informatization ≠ digitalization? Finally someone made it clear

I, a tester from a large factory, went to a state-owned enterprise with a 50% pay cut. I regret it

Graduates are confused and middle-aged people are anxious. How can the career path become wider and wider?
随机推荐
GNN notes: message propagation model
NVIDIA安装最新显卡驱动
机器学习8-人工神经网络
关于harbor私有仓库忘记登录密码
iNFTnews | Meta在元宇宙中的后续计划会是什么?
535. TinyURL 的加密与解密 / 剑指 Offer II 103. 最少的硬币数目
Interrupt怎么用
AI and creativity
如何在 PowerPoint 中向幻灯片添加 SmartArt?
PHP delete directory
Redolog and binlog
固态存储厂商忆联加入龙蜥社区,共建开源新生态
About xampp unable to start MySQL database
垃圾收集器
Paper notes: e (n) equivariant graph neural networks
ICML 2022 | transferable imitation learning method based on decoupling gradient optimization
sectigo ov泛域名证书一年一千五百九十元好用吗
Function calculation asynchronous task capability introduction - task trigger de duplication
Why does selenium become the first choice for web automated testing? (source code attached)
SpingMVC请求和响应