Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ubuntu 20.04 Essentials

You're reading from   Ubuntu 20.04 Essentials A guide to Ubuntu 20.04 desktop and server editions

Arrow left icon
Product type Paperback
Published in Aug 2020
Publisher Packt
ISBN-13 9781800568525
Length 328 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (38) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Ubuntu on a Clean Disk Drive 4. Installing Ubuntu with the Network Installer 5. Dual Booting Ubuntu with Windows 6. Allocating Windows Disk Partitions to Ubuntu 7. A Guided Tour of the GNOME 3 Desktop 8. An Overview of the Ubuntu Cockpit Web Interface 9. Using the Bash Shell on Ubuntu 10. Managing Ubuntu Users and Groups 11. Managing Ubuntu systemd Units 12. Ubuntu Software Package Management and Updates 13. Ubuntu Snap Package Management 14. Ubuntu Network Management 15. Ubuntu Firewall Basics 16. Using gufw and ufw to Configure an Ubuntu Firewall 17. Basic Ubuntu Firewall Configuration with firewalld 18. Configuring SSH Key-based Authentication on Ubuntu 19. Ubuntu Remote Desktop Access with Vino 20. Ubuntu Remote Desktop Access with VNC 21. Displaying Ubuntu Applications Remotely (X11 Forwarding) 22. Using NFS to Share Ubuntu Files with Remote Systems 23. Sharing Files between Ubuntu and Windows Systems with Samba 24. An Overview of Virtualization Techniques 25. Installing KVM Virtualization on Ubuntu 26. Creating KVM Virtual Machines using Cockpit and virt-manager 27. Creating KVM Virtual Machines with virt-install and virsh 28. Creating an Ubuntu KVM Networked Bridge Interface 29. Managing KVM using the virsh Command-Line Tool 30. An Introduction to Linux Containers 31. Working with Containers on Ubuntu 32. Setting Up an Ubuntu Web Server 33. Configuring an Ubuntu Postfix Email Server 34. Adding a New Disk Drive to an Ubuntu System 35. Adding a New Disk to an Ubuntu Volume Group and Logical Volume 36. Adding and Managing Ubuntu Swap Space 37. Ubuntu System and Process Monitoring Index

18.7 SSH Key-based Authentication from Windows 10 Clients

Recent releases of Windows 10 include a subset of the OpenSSH implementation that is used by most Linux and macOS systems as part of Windows PowerShell. This allows SSH key-based authentication to be set up from a Windows 10 client using similar steps to those outlined above for Linux and macOS.

To open Windows PowerShell on a Windows 10 system press the Win+X keyboard combination and select it from the menu, or locate and select it from the Start menu. Once running, the PowerShell window will appear as shown in Figure 18-1:

Figure 18-1

If you already have a private key from another client system, simply copy the id_rsa file to a folder named .ssh on the Windows 10 system. Once the file is in place, test the authentication within the PowerShell window as follows:

$ ssh -l <username>@<hostname>

For example:

PS C:\Users\neil> ssh -l neil 192.168.1.101

Enter passphrase for key 'C:\Users...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime