惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
V
Visual Studio Blog
博客园_首页
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
D
Docker
博客园 - 司徒正美
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
U
Unit 42
J
Java Code Geeks
A
About on SuperTechFans
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security Affairs
I
Intezer
Cisco Talos Blog
Cisco Talos Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
B
Blog RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Tenable Blog
T
Threatpost
H
Hacker News: Front Page
G
Google Developers Blog
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
L
Lohrmann on Cybersecurity
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
S
Secure Thoughts
GbyAI
GbyAI
NISL@THU
NISL@THU
S
Security @ Cisco Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Webroot Blog
Webroot Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
O
OpenAI News
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog

鸟叔の窝

开箱国内最牛5g 随身Wi-Fi中兴u30pro Centos安装docker以及docker compose的方法 Windows 12系统iso下载和安装 品牌电脑组装电脑进BIOS方法 用代码脚本开启MacBook Pro外接2k4k显示屏HiDPI MacBook Pro连接2k显示器开启HiDPI 长虹液晶电视刷机 继续分享几个美国和香港的Apple ID 压箱底的2张13年前的美金拿出来晒晒 鸟叔正在使用的vps
甲骨文云修改为root登录vps
鸟叔 · 2026-03-03 · via 鸟叔の窝

甲骨文云默认登录的用户名是ubuntu和私钥的方式登录vps,我们可以修改为root加密码登录vps

WX20260303-201946@2x.png

网友分享的两种方法

方法1

sudo -i切换到root

passwd设置密码

sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLogin yes/g’ /etc/ssh/sshd_config;

sudo sed -i ‘s/^#?PasswordAuthentication.*/PasswordAuthentication yes/g’ /etc/ssh/sshd_config;

sudo service sshd restart

reboot重启服务器

方法2
sudo -i 用root身份

passwd 设置root密码

vi /etc/ssh/sshd_config 修改配置文件

PermitRootLogin yes

PasswordAuthentication yes

reboot重启服务器