当前位置:网站首页>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 forever
shell Connect
[E:\Xshell\Sessions]$ ssh 192.168.1.129
Set 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
边栏推荐
- Calibration of monocular camera and binocular camera with kalibr calibration tool
- 英联邦国家有哪些
- Tencent cloud released the upgraded version of CDW Clickhouse to provide a fast experience for massive data real-time analysis scenarios
- After reading the complete code
- SLAM中的子图
- Naacl 2022 | distillation of machinetranslation SOTA model
- Gradle download slow or unable to download
- 如何配置 logback?30分鐘讓你徹底學會代碼熬夜敲
- C language microblog user management system
- [R language data science]: Text Mining (taking Trump's tweet data as an example)
猜你喜欢
【南京大学】考研初试复试资料分享
元代理模型可迁移对抗攻击
Calibration of binocular camera based on OpenCV
PCB板框的绘制——AD19
[R language data science]: Text Mining (taking Trump's tweet data as an example)
Inheritablethreadlocal resolves message loss during message transmission between parent and child threads in the thread pool
What is the follow-up plan of infotnews | meta in the metauniverse?
最高81.98%!超百所“双一流”高校本科深造率公布
「科普大佬说」AI与创造力
自旋电子学笔记-张曙丰
随机推荐
如何配置 logback?30分鐘讓你徹底學會代碼熬夜敲
Word2vec vector model of Wiki Chinese corpus based on deep learning
Which is better and safer, GF e-gold or Dongfang fortune
6.25atcoderabc257e - addition and multiplication 2
为什么信息化 ≠ 数字化?终于有人讲明白了
Real test = "half product + Half development"?
Inheritablethreadlocal resolves message loss during message transmission between parent and child threads in the thread pool
广发易淘金和东方财富哪个更好,更安全一些
【现代信号处理第六次作业】
2022年软件评测师考试大纲
机器学习8-人工神经网络
epoll分析
Implement a ThreadLocal by yourself
Solid state storage manufacturer Yilian joins dragon dragon community to build a new open source ecosystem
Calibration of monocular camera and binocular camera with kalibr calibration tool
C语言微博用户管理系统
Comprehensive analysis of Seata distributed transaction at and XA
【Oracle】基础知识面试题
C comparison of the performance of dapper efcore sqlsugar FreeSQL hisql sqlserver, an ORM framework at home and abroad
全面剖析Seata 分布式事务 AT 与XA