From 7c4e3bcfd2060683b04e00e020863f54731ec0e8 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Fri, 18 Aug 2023 10:52:48 +0200 Subject: [PATCH] feat: adjust bootable-usb-drive.md and ssh-pub-key-auth.md --- doc/bootable-usb-drive.md | 34 ++++++++++++++++++++++++++++++++-- doc/ssh-pub-key-auth.md | 5 +++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/doc/bootable-usb-drive.md b/doc/bootable-usb-drive.md index 793b075..5c7370a 100644 --- a/doc/bootable-usb-drive.md +++ b/doc/bootable-usb-drive.md @@ -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/ ``` -* 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 ``` \ No newline at end of file diff --git a/doc/ssh-pub-key-auth.md b/doc/ssh-pub-key-auth.md index 6411922..23760fa 100644 --- a/doc/ssh-pub-key-auth.md +++ b/doc/ssh-pub-key-auth.md @@ -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)