当前位置:网站首页>6-3漏洞利用-SSH环境搭建
6-3漏洞利用-SSH环境搭建
2022-07-02 01:11:00 【山兔1】

ubuntu搭建ssh服务端
ubuntu下安装对应的ssh服务,需要安装的软件是openssh-server
sudo apt-get install openssh-server

可以看到安装完成,会在过程当中加载很多内容,下载并进行解包安装
打开终端

sudo apt-get install openssh-server
//表示使用sudo管理员进行操作
在之前安装软件进程,没有结束的情况下,我们需要结束该进程,才能使用apt-get,我们也可以选择重启,rebort,干掉之前还在运行的进程

以上,我们就完成了openssh-server软件的安装,也就完成了对应服务端的安装,当然服务端软件,不止包括openssh-server,还有其它的软件,可以拿过来使用
ssh服务端服务启动与关闭
启动、状态获取、关闭
service ssh start
service ssh status
service ssh stop

service ssh start
service ssh status
service ssh stop
service ssh status

ubuntu搭建ssh客户端
我们光有服务端也是不能进行操作,我们需要搭建对应的客户端,才能通过客户端连接服务端,然后进行远程操作
ubuntu下安装putty工具,依赖这些工具生成私钥
sudo apt-get install putty-tools

puttygen

生成对应的密钥
ubuntu搭建ssh客户端
ubuntu下安装putty:
在软件中心搜索putty进行安装

客户端,不仅只有putty,还有xshell、sqssh这些
客户端连接服务端
打开putty输入服务端信息,连接

输入服务端IP地址,点击OPEN进行连接,连接成功的前提是,服务端的ssh功能是开启的
id
whoami
ifconfig

可以看到这个时候,在执行shell命令
边栏推荐
- What skills does an excellent software tester need to master?
- CTF daily question day45 sensor
- Weather forecast applet source code weather wechat applet source code
- Advanced skills of testers: a guide to the application of unit test reports
- The concept and application of Cartland number
- King combat power query renamed toolbox applet source code - with traffic main incentive advertisement
- Evolution of Himalayan self-developed gateway architecture
- SAP ui5 beginner tutorial XXI - trial version of custom formatter of SAP ui5
- 站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
- CEPH buffer yyds dry inventory
猜你喜欢

Xinniuniu blind box wechat applet source code_ Support flow realization, with complete material pictures

学习笔记24--多传感器后融合技术

Entrepreneurship is a little risky. Read the data and do a business analysis

Creation of volume group for AIX storage management (I)

I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)

Develop a simple login logic based on SSM

Minimize the error

测试人进阶技能:单元测试报告应用指南

How does schedulerx help users solve the problem of distributed task scheduling?

LeetCode、3无重复最长子序列
随机推荐
New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
Global and Chinese markets for supply chain strategy and operation consulting 2022-2028: Research Report on technology, participants, trends, market size and share
If the browser is accidentally closed, how does react cache the forms filled out by users?
Basic usage of three JS high-order functions --filter---map---reduce
ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)
Cookie, session, tooken
Powerful calendar wechat applet source code - support the main mode of doing more traffic
excel数据透视表
Evolution of Himalayan self-developed gateway architecture
No converter found for return value of type: class
Synthetic watermelon game wechat applet source code / wechat game applet source code
【js通过url下载文件】
Source code of Qiwei automatic card issuing system
Develop a simple login logic based on SSM
How does schedulerx help users solve the problem of distributed task scheduling?
CEPH buffer yyds dry inventory
【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
Exclusive delivery of secret script move disassembly (the first time)
How does schedulerx help users solve the problem of distributed task scheduling?
You probably haven't noticed the very important testing strategy in your work