当前位置:网站首页>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命令
边栏推荐
- Sql--- related transactions
- Powerful calendar wechat applet source code - support the main mode of doing more traffic
- Entrepreneurship is a little risky. Read the data and do a business analysis
- How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
- XMIND mind map
- Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
- Excel search and reference function
- 969 interlaced string
- Comprehensive broadcast of global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
- cookie、session、tooken
猜你喜欢

AIX存储管理之卷组属性的查看和修改(二)

2022 safety officer-b certificate examination practice questions simulated examination platform operation

Infiltration records of CFS shooting range in the fourth phase of the western regions' Dadu Mansion

Collection: comprehensive summary of storage knowledge

Common loss function of deep learning

【八大排序②】选择排序(选择排序,堆排序)

SQL injection for Web Security (2)
![[eight sorts ①] insert sort (direct insert sort, Hill sort)](/img/8d/2c45a8fb582dabedcd2658cd7c54bc.png)
[eight sorts ①] insert sort (direct insert sort, Hill sort)

Exclusive delivery of secret script move disassembly (the first time)

Random avatar encyclopedia, multi category wechat applet source code with history_ Support traffic master
随机推荐
S32Kxxx bootloader之UDS bootloader
Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share
Han Zhichao: real time risk control practice of eBay based on graph neural network
Zak's latest "neural information transmission", with slides and videos
DTL dephossite | prediction method of dephosphorylation sites based on Transfer Learning
excel查找与引用函数
Minimize the error
【会议资源】2022年第三届自动化科学与工程国际会议(JCASE 2022)
How does schedulerx help users solve the problem of distributed task scheduling?
Basic usage of shell script
The pain of Xiao Sha
Global and Chinese market of safety detection systems 2022-2028: Research Report on technology, participants, trends, market size and share
Viewing and modifying volume group attributes of Aix storage management (II)
Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
XMIND mind map
AIX存储管理之卷组的创建(一)
[conference resources] the Third International Conference on Automation Science and Engineering in 2022 (jcase 2022)
Review notes of compilation principles
MySQL winter vacation self-study 2022 12 (4)