当前位置:网站首页>1-12Vmware新增SSH功能
1-12Vmware新增SSH功能
2022-06-26 15:59:00 【山兔1】

配置kali linux下的ssh
默认情况下kali下的ssh配置文件,不允许root用户远程登录ssh。我们就需要配置对应的配置文件,/etc/ssh/sshd_config

修改两个划横线的之后,我们就可以使用远程root登录,并使用密码,进行验证
gedit /etc/ssh/sshd_config
使用putty连接ssh
我们想要用客户端连接服务端,前提 开启ssh服务,service ssh start

service ssh start
service ssh status
在这里出现active表示运行
我们可以使用
netstat -pantu | grep 22
筛选出22端口

我们使用ifconfig获取kali的ip地址

用putty进行连接

有很多ssh连接的软件,比如xshell
vm中自带ssh连接
调用安装好的openssh连接对应的虚拟机ssh服务端,而并不是自己开发了这款软件

自带的比较方便,不需要安装第三方软件,直接点击虚拟机

kali linux常用网络命令
1、netstat -pantu 查看当前tcp udp监听端口

2、service ssh start 开启服务

3、ifconfig 查看当前IP地址

有两张网卡,一张是eth0,另一张是lo
4、/etc/init.d/networking restart 重新启动网卡

5、ssh [email protected]地址 使用root用户登录ssh服务

使用机器上自带的ssh客户端,连接ssh服务
6、service ssh statu 查看连接状态

ssh建立连接之后,两者建立连接,如果客户端和服务端建立连接之后,使得双向传递过程,如果服务端立即关闭ssh连接,后端程序可能仍然在运行,执行短暂的命令,当服务器完全结束掉ssh进程之后,连接就会断掉,无法建立连接
边栏推荐
- How to configure and use the new single line lidar
- 5 model saving and loading
- R语言plotly可视化:plotly可视化归一化的直方图(historgram)并在直方图中添加密度曲线kde、并在直方图的底部边缘使用geom_rug函数添加边缘轴须图
- (DFS search) acwing 2005 horseshoe
- PCIe Capabilities List
- What is the process of switching C # read / write files from user mode to kernel mode?
- 人人都当科学家之免Gas体验mint爱死机
- NFT Platform Security Guide (1)
- IntelliJ idea -- Method for formatting SQL files
- 李飞飞团队将ViT用在机器人身上,规划推理最高提速512倍,还cue了何恺明的MAE...
猜你喜欢

Quickly get started with federal learning -- the practice of Tencent's self-developed federal learning platform powerfl

PCIe Capabilities List

Solana capacity expansion mechanism analysis (2): an extreme attempt to sacrifice availability for efficiency | catchervc research

How to identify contractual issues

3. Keras version model training

NFT 项目的开发、部署、上线的流程(2)

「干货」NFT 上中下游产业链全景分析

STEPN 新手入门及进阶

清华“神奇药水”登Nature:逆转干细胞分化,比诺奖成果更进一步,网友:不靠精子卵子就能创造生命了?!...

NFT transaction principle analysis (1)
随机推荐
JS creative icon navigation menu switch background color
全面解析Discord安全问题
Svg animation around the earth JS special effects
Net基于girdview控件实现删除与编辑行数据
Oilfield exploration problems
Application of ansible automation
【力扣刷题】11.盛最多水的容器//42.接雨水
股票开户优惠链接,我如何才能得到?在线开户安全么?
OpenSea上如何创建自己的NFT(Polygon)
Panoramic analysis of upstream, middle and downstream industrial chain of "dry goods" NFT
「幹貨」NFT 上中下遊產業鏈全景分析
How to create your own NFT (polygon) on opensea
11 introduction to CNN
When a project with cmake is cross compiled to a link, an error cannot be found So dynamic library file
Anaconda3安装tensorflow 2.0版本cpu和gpu安装,Win10系统
[untitled]
神经网络“炼丹炉”内部构造长啥样?牛津大学博士小姐姐用论文解读
Beijing University and Tencent jointly build angel4.0, and the self-developed in-depth learning framework "River map" is integrated into the ecology
Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
2 three modeling methods