LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-29-2007, 10:35 AM   #1
devender chauhan
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
public keys problem in server


i want to create public keys on windows server but due to following error or issues i can't complete my task.following steps are performed by my side:-
on linux machine:-
conn with the root:-

1. ssh-keygen -t dsa

i will be prompted for a key location, the default is fine so just press enter.
Then asked to enter a passphrase. press enter.

2.scp id_dsa.pub administrator@192.168.64.18:/devender
copy public key from linux to windows server..

3.ssh administrator@192.168.64.18
with password:---------
conn windows machine with ssh command.

4.
To enable public key authentication for Administrator:

* Change the OpenSSH\etc\sshd_config file:

RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication no
5.in windows cat command is not working so we manually copy public key from one location to another as:
cp d:\devender\id_dsa.pub /home/administrator/.ssh/authorized_keys file
restart the openssh services.

6.after that when i want to connect from linux client to windows server,again-2 asked the password.why this is happening i don't know....


plz give me rply as soon as possible...
from
devender chauhan
(INDIA)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH allow public keys only GATTACA Linux - Security 4 11-18-2006 03:34 PM
Public Keys wwnexc Linux - Security 1 03-30-2006 03:56 PM
SSH public / private keys problem guideweb Linux - Software 7 08-27-2005 10:49 PM
YUM requires public keys, how do I get public keys? GNUROCKS Linux - Newbie 3 05-29-2005 09:50 AM
Using GPG without public or private keys darin3200 Linux - Security 3 01-10-2005 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration