[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Virtualmin - Public/Private Keys for Logon

Posted on 2014-04-18
1
Medium Priority
?
243 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 1000 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 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