Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

secure machine!

Posted on 2006-12-01
1
Medium Priority
?
295 Views
Last Modified: 2010-04-20
hello,
I was wondering if there's a way to enable some sort of key file
that only my windows xp will have when I connect to my
centos v4.4 server through SSH, so when I login as root
and I put my password and checks for the keyfile so
just in case someone hacks my password he cant get in
cus the keyfile is needed! is this possible ?
and if the tech wants to get in ill just disabled it!
0
Comment
Question by:Sabrin
1 Comment
 
LVL 43

Accepted Solution

by:
ravenpl earned 2000 total points
ID: 18052241
Well, I already wanted same thing, seems impossible.
Refer http://www.experts-exchange.com/Security/Linux_Security/Q_21896950.html
What You can do is to authenticate ONLY with pubkey authentication - the private key is protected with password as well. Hence the real system password will not be used.
Refer http://freebsdwiki.net/index.php/SSH:_Passwordless_authentication http://www.brandonhutchinson.com/Passwordless_ssh_logins.html
Windows: http://www.nz-honeynet.org/passwordless-ssh.html http://www.tartarus.org/~simon/puttydoc/Chapter8.html
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

971 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