当前位置:网站首页>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命令
边栏推荐
- Exclusive delivery of secret script move disassembly (the first time)
- 首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
- 一名优秀的软件测试人员,需要掌握哪些技能?
- JMeter做接口测试,如何提取登录Cookie
- RFID makes the inventory of fixed assets faster and more accurate
- 2022 low voltage electrician examination questions and answers
- Summary of Aix storage management
- Global and Chinese markets of beverage seasoning systems 2022-2028: Research Report on technology, participants, trends, market size and share
- 什么是商业养老保险?商业养老保险安全靠谱吗?
- Minimize the error
猜你喜欢

Viewing and modifying volume group attributes of Aix storage management (II)

New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code

Collection: comprehensive summary of storage knowledge

Sql--- related transactions

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

Principle of finding combinatorial number and template code

Slf4j print abnormal stack information

Datawhale 社区黑板报(第1期)

Synthetic watermelon game wechat applet source code / wechat game applet source code

Hcip day 14 (MPLS protocol)
随机推荐
Daily work and study notes
Global and Chinese markets for context and location-based services 2022-2028: Research Report on technology, participants, trends, market size and share
AIX存储管理之卷组属性的查看和修改(二)
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
Minimize the error
Weather forecast applet source code weather wechat applet source code
"C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression
Edge extraction edges based on Halcon learning_ image. Hdev routine
[conference resources] the Third International Conference on Automation Science and Engineering in 2022 (jcase 2022)
Global and Chinese markets of beverage seasoning systems 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of collaborative applications 2022-2028: Research Report on technology, participants, trends, market size and share
Docker安装Oracle_11g
RFID makes the inventory of fixed assets faster and more accurate
程序员该如何更好的规划自己的职业发展?
AIX存储管理之逻辑卷的创建及属性的查看和修改
Cookie, session, tooken
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
[WesternCTF2018]shrine writeup
Excel search and reference function
Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share