Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet354/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   350   351   352   353   354   355   356   357   ...   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)

[
 270 
]
Changing the passphrase of an OpenSSH key
At some point, you may want to change the passphrase associated with a key. If 
you'd like to do that, you can use the 
-p
 argument with the 
ssh-keygen
 command. 
That same argument can also be used if you didn't choose to add a passphrase when 
you initially created the key. That's all there is to it. The command you'd enter to add 
or change a passphrase is as simple as the following:
ssh-keygen -p 
Once you enter that command, press 
Enter
 to accept the default file (
id_rsa
) unless 
the key you want to alter is under a different name, in which case you can type the 
path to, and the name of, that key. Then, you'll be asked for your current passphrase 
(leave it blank if you don't have one yet) followed by your new passphrase twice. 
The process looks like this:
Figure 10.11: Changing an SSH passphrase
These concepts may take a bit of practice if you've never used SSH before. The best 
way to practice is to set up multiple Ubuntu Server installations (perhaps several 
virtual machines), and practice using SSH to connect to them, as well as deploying 
your key to each machine via the 
ssh-copy-id
 command. It's actually quite easy once 
you get the hang of it.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   350   351   352   353   354   355   356   357   ...   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