当前位置:网站首页>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命令
边栏推荐
- @Valid parameter verification does not take effect
- [eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
- Variables and constants of go language foundation
- You probably haven't noticed the very important testing strategy in your work
- 2022 operation of simulated examination platform for melting welding and thermal cutting work license
- MySQL winter vacation self-study 2022 12 (4)
- About asp Net core uses a small detail of datetime date type parameter
- Tensorflow tensor convolution, input and convolution kernel dimension understanding
- Zak's latest "neural information transmission", with slides and videos
- Leetcode 45 Jumping game II (2022.02.14)
猜你喜欢

The pain of Xiao Sha
![[eight sorts ②] select sort (select sort, heap sort)](/img/4b/da0d08230391d6ee48cd8cfd2f7240.png)
[eight sorts ②] select sort (select sort, heap sort)

Excel PivotTable

969 interlaced string

Recommend an online interface mock tool usemock

Common loss function of deep learning

Geek DIY open source solution sharing - digital amplitude frequency equalization power amplifier design (practical embedded electronic design works, comprehensive practice of software and hardware)

Weather forecast applet source code weather wechat applet source code

Schrodinger's Japanese learning applet source code

Review notes of compilation principles
随机推荐
2022 safety officer-b certificate examination practice questions simulated examination platform operation
笔者更加愿意将产业互联网看成是一个比消费互联网要丰富得多的概念
Variables and constants of go language foundation
Xinniuniu blind box wechat applet source code_ Support flow realization, with complete material pictures
[bottom pop-up selector] uniapp picker component - scroll selector popped up at the bottom
cookie、session、tooken
The concept and application of Cartland number
Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
Part 29 supplement (XXIX) basis of ECMAScript
excel数据透视表
Hcip day 14 (MPLS protocol)
Develop a simple login logic based on SSM
Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
Day 13 of hcip (relevant contents of BGP agreement)
LeetCode、3无重复最长子序列
[WesternCTF2018]shrine writeup
8.8.4-PointersOnC-20220215
Daily work and study notes
CEPH buffer yyds dry inventory
Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners