Solved

Virtualmin - Public/Private Keys for Logon

Posted on 2014-04-18
1
215 Views
Last Modified: 2014-04-21
We are using VirtualMin on our servers running CentOS 6.x and now we want to implement public/private keys for SSH logins. My question is it possible to logon to VirtualMin with public/private keys instead of root passwords?
0
Comment
Question by:sysautomation
1 Comment
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 500 total points
ID: 40008539
As far as I know it's not built-in into virtualmin, so you'll have to do it manually on the host like normal...

So yes, it should be possible, just create the keys and import them into /home/server-name/.ssh/authorized_keys file ... Don't forget to set security on this file to something like 600 and the .ssh folder can be 700...
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now