Results 1 to 10 of 10
Thread: SSH Keys... where is .ssh?
-
09-24-2007, 01:11 AM #1Junior Guru Wannabe
- Join Date
- Jul 2007
- Posts
- 30
SSH Keys... where is .ssh?
I am currently running Cent OS 5...where do I find the directory or file to add my public key to?
-
09-24-2007, 01:17 AM #2The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
/etc/ssh
Net
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
09-24-2007, 01:34 AM #3Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
09-24-2007, 10:46 AM #4Web Hosting Master
- Join Date
- Sep 2004
- Posts
- 760
It would be ~/.ssh default
you can check it at /etc/ssh/sshd_config
-
09-24-2007, 12:55 PM #5Newbie
- Join Date
- Sep 2007
- Posts
- 8
It might be worth noting for the next person who goes hunting for this that ~ indicates your home directory. For example my file on my laptop would be /home/sully/.ssh/config
There are some very helpful options that you can throw in there.
-
09-24-2007, 01:50 PM #6Junior Guru Wannabe
- Join Date
- Jul 2007
- Posts
- 30
Ok so far I created that file and placed my public key inside and saved it
How do I authorize this public key? IS there such a step?
it says
Using username "root".
Server refused our keyLast edited by circuscircus; 09-24-2007 at 01:56 PM.
-
09-24-2007, 01:55 PM #7Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
09-24-2007, 04:32 PM #8Predatory Poster
- Join Date
- Jul 2003
- Location
- Goleta, CA
- Posts
- 5,566
Are you using puttygen to create your public and private key pair?
Patron: I'd like my free lunch please.
Cafe Manager: Free lunch? Did you read the fine print stating it was an April Fool's joke.
Patron: I read the same way I listen, I ignore the parts I don't agree with. I'm suing you for false advertising.
Cafe Owner: Is our lawyer still working pro bono?
-
09-24-2007, 04:33 PM #9Retired Moderator
- Join Date
- Nov 2002
- Location
- WebHostingTalk
- Posts
- 8,901
* Moved to Technical and Security Issues....
SiriusI support the Human Rights Campaign!
Moving to the Tampa, Florida area? Check out life in the suburbs in Trinity, Florida.
-
09-25-2007, 10:07 AM #10Web Hosting Master
- Join Date
- Nov 2001
- Location
- Philadelphia, Pa
- Posts
- 948
Is you desktop windows or linux? If windows, are you using putty? How did you generate the key? What are the perms on the .ssh folder and in the file that you put the key in? What file did you put the key in?