feat: adjust bootable-usb-drive.md and ssh-pub-key-auth.md
This commit is contained in:
parent
de6c9baa7b
commit
7c4e3bcfd2
|
@ -1,4 +1,32 @@
|
|||
# Create Bootable USB Drive
|
||||
# Installation/FromUSBStick
|
||||
|
||||
[link](https://help.ubuntu.com/community/Installation/FromUSBStick)
|
||||
|
||||
# Create Bootable USB Drive Using mkusbmin
|
||||
|
||||
[link](https://help.ubuntu.com/community/mkusb/min)
|
||||
|
||||
# Create Bootable USB Drive Using DebianInstall
|
||||
|
||||
[link](https://wiki.debian.org/DebianInstall)
|
||||
|
||||
# Create Bootable USB Drive Using UnetBootin
|
||||
|
||||
[link](https://unetbootin.github.io/linux_download.html)
|
||||
|
||||
# Installation + Archive + USBStick
|
||||
|
||||
[link](https://wiki.debian.org/Installation+Archive+USBStick#Preparing_the_USB_Stick)
|
||||
|
||||
# CreateUSBMedia
|
||||
|
||||
[link](https://wiki.debian.org/DebianInstaller/CreateUSBMedia)
|
||||
|
||||
# Create Bootable USB Drive Using Balena Etcher
|
||||
|
||||
[link](https://www.pragmaticlinux.com/2021/03/create-a-bootable-usb-drive-from-a-linux-iso-image/)
|
||||
|
||||
# Create Bootable USB Drive Manually
|
||||
|
||||
* download debian
|
||||
|
||||
|
@ -29,7 +57,9 @@ lsblk -p | grep "disk"
|
|||
sudo umount /dev/<tdb>
|
||||
```
|
||||
|
||||
* write the ISO file to the USB drive
|
||||
* write the ISO file to the USB drive using the following options
|
||||
```
|
||||
sudo dd if=[ISO FILE] of=[DEVICE NAME] bs=4M conv=fdatasync status=progress
|
||||
sudo dd if=[ISO FILE] of=[DEVICE NAME] bs=4M status=progress oflag=sync
|
||||
sudo dd if=[ISO FILE] of=[DEVICE NAME] bs=4M status=progress oflag=sync
|
||||
```
|
|
@ -64,6 +64,11 @@ sudo vi /etc/ssh/sshd_config
|
|||
PasswordAuthentication no
|
||||
```
|
||||
|
||||
* save this file and restart sshd service
|
||||
```
|
||||
sudo systemctl restart sshd
|
||||
```
|
||||
|
||||
## Links
|
||||
|
||||
[How to Fix SSH Failed Permission Denied (publickey)](https://phoenixnap.com/kb/ssh-permission-denied-publickey)
|
||||
|
|
Loading…
Reference in New Issue