Skip to Main Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate content levelBeginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
238
|
Chapter 9, Administration and Automation
#78 Create a Passwordless Login
HACK
HACK
#78
Create a Passwordless Login Hack #78
Forget about those passwords and make administering a remote server
easier.
By far, the most common method of remotely logging in to Linux machines
is by using the Secure SHell (SSH). This encrypted method of accessing far-
flung computers is a popular choice for system administrators, but despite
its popularity, repeatedly logging in and out of computers and entering pass-
words over and over again can be a chore. This chore is significantly
increased when you manage a number of different computers, all with differ-
ent passwords.
This hack explores how to create a passwordless login. Although this sounds
like security suicide, it isn’t because it uses special encrypted keys to allow
access to the remote computer. You do this by generating both a public and
a private key. The public key (a key that you can give to people) is uploaded
to the remote server as an authorized key, and when you connect to the
remote server, the private key on your local machine is compared to the
public key. If they work together, access is granted.
The other benefit of the passwordless login is that you can tie it into your
desktop environment and manage files on the remote machine graphically. I
discuss this later in this hack.
Generate Public and Private Keys
To create a passwordless login, you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Introducing Linux Distros

Introducing Linux Distros

Jose Dieguez Castro

Publisher Resources

ISBN: 0596009119Supplemental ContentCatalog PageErrata