PuTTY: Server refused our public key
From: N.K. (nadiak_at_parkerglobal.com)
Date: 08/27/03
- Next message: Richard E. Silverman: "Re: Two simple openssh questions..."
- Previous message: Owen Dunn: "Re: want to automate PSFTP, skip fingerprint cache/prompt?"
- Next in thread: Bill Unruh: "Re: PuTTY: Server refused our public key"
- Reply: Bill Unruh: "Re: PuTTY: Server refused our public key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 27 Aug 2003 10:18:48 -0700
HI,
I'm trying to use putty to connect to a remout server. This is the
first time I'm doing it so I'm not sure if I'm doing it the right way.
1. On the Linux server how do I know what version of ssh is running?
All I know that there is a directory .ssh and there is a file called
known_hosts ( not authorised_keys).
2. On my Windows box, I used puttygen to generate a key. I saved
public and private keys and copied the public key over to known_hosts
file. (I copied whatever was in "public key for pasting into
authorized_keys file"). I made sure it's all one line. BTW public and
private keys are the same. Is that how it's supposed to be? Puttygen
only generates one key. Is the format different?
3. Now, I specified the file where the private key is stored in the
PuTTY session. When I run it, I see following messages:
Sent user name: username
Trying public key authentication
No passfrase required
Server refused our public key
username@ipaddress password:
What am I doing wrong?
My goal is to use Plink to have an automated script that will connect
to this server and copy some files from (scp or pscp) that Linux
server to my Windows machine.
4. My PuTTY session times out very fast.
I went into regedit
hkey_local_machine\system\currentcontrolset\services\tcpip\parameters
and created a REG_DWORD value TcpMaxDataRetransmissions that is
decimal and set to 10. This didn't help. Any ideas?
I appreciate your help.
Thank.
N.K.
- Next message: Richard E. Silverman: "Re: Two simple openssh questions..."
- Previous message: Owen Dunn: "Re: want to automate PSFTP, skip fingerprint cache/prompt?"
- Next in thread: Bill Unruh: "Re: PuTTY: Server refused our public key"
- Reply: Bill Unruh: "Re: PuTTY: Server refused our public key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|