Birmingham mumbai


Issuing commands with OpenSSH



Download 15,21 Mb.
Pdf ko'rish
bet346/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   342   343   344   345   346   347   348   349   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

Issuing commands with OpenSSH
After you've installed the 
openssh-server
 package on your target machine (the one 
you want to control remotely), you'll need to start it if it hasn't been already. By 
default, Ubuntu's 
openssh-server
 package is automatically configured to start and 
become enabled once installed. Just as we've done earlier, you can verify that the 
required service is running with the following command:
systemctl status ssh 
If OpenSSH is running as a daemon on your server, you should see output that tells 
you that it's 
active (running)
. If not, you can start it with the following command:
sudo systemctl start ssh 
If the output of the 
systemctl status ssh
 command shows that the daemon is 
disabled (meaning it doesn't start up automatically when the server boots), you can 
enable it with the following command:
sudo systemctl enable ssh 
With the OpenSSH server started and running, your server should now be listening 
for connections. To verify this, use the following command to list listening ports, 
restricting the output to SSH:
sudo ss -tunlp |grep ssh 


Connecting to Networks

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   342   343   344   345   346   347   348   349   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish