What's new

Help Help About VPS

PHC-Akomizmo

Forum Veteran
Joined
Jun 28, 2017
Posts
1,800
Solutions
1
Reaction
646
Points
518
Good day Sir/Mam ask lang po may pwedeng command ba na pwedeng maview yung root password ng vps vps at pemkey lang kasi mayron ako thanks po sa sasagot :)
 
ay oo sir aws pala
Eto gawin mo

Type mo muna gusto mong password mo...for example sa notes mo then

Pasok ka sa VPS mo then run mo to

1st sudo su or sudo su -

then eto

2nd
Code:
sed -i 's@#PermitRootLogin[[:space:]]prohibit-password@PermitRootLogin yes@g' /etc/ssh/sshd_config && sed -i 's@#PubkeyAuthentication[[:space:]]yes@PubkeyAuthentication no@g' /etc/ssh/sshd_config && sed -i 's@PasswordAuthentication[[:space:]]no@PasswordAuthentication yes@g' /etc/ssh/sshd_config && service ssh restart && passwd root

then yung tinype mong password sa note mo...copy mo yun then paste sa vps mo...then ayun ok na
 
Eto gawin mo

Type mo muna gusto mong password mo...for example sa notes mo then

Pasok ka sa VPS mo then run mo to

1st sudo su or sudo su -

then eto

2nd
Code:
sed -i 's@#PermitRootLogin[[:space:]]prohibit-password@PermitRootLogin yes@g' /etc/ssh/sshd_config && sed -i 's@#PubkeyAuthentication[[:space:]]yes@PubkeyAuthentication no@g' /etc/ssh/sshd_config && sed -i 's@PasswordAuthentication[[:space:]]no@PasswordAuthentication yes@g' /etc/ssh/sshd_config && service ssh restart && passwd root

then yung tinype mong password sa note mo...copy mo yun then paste sa vps mo...then ayun ok na
yung e cocopy ba ay yung pem.key sir?
 
yes po cp lang gamit
Download mo yung pem.key then
Open Juice ssh then add connection ka lagay mo ip ng vps mo...then sa identities NEW ka then sa NICKNAME ikaw na bahala ano lalagay mo...username is ADMIN....then yang arrow na yan jan mo lagay pem.key then save mo na...tapos sundin mo yung sinabi ko kanina
IMG_20220202_085153.jpg
 

Attachments

Download mo yung pem.key then
Open Juice ssh then add connection ka lagay mo ip ng vps mo...then sa identities NEW ka then sa NICKNAME ikaw na bahala ano lalagay mo...username is ADMIN....then yang arrow na yan jan mo lagay pem.key then save mo na...tapos sundin mo yung sinabi ko kanina
View attachment 1806202
salamat po sir laking bagay po neto sa akin galing mo talaga sir
 

Similar threads

Back
Top