The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-05-2007
rainbow_bean rainbow_bean is offline
Registered User
 

Join Date: Dec 2007
Posts: 53
SSH has this error: "server refused our key"

I did successful yestday as Porter's doc:


1. Create private/pub key on AIX:
$ssh-keygen -t identity

2. Get my private key from the AIX server, found in $HOME/.ssh/identity

Put that on Windows box.

I use WinSCP to transfer private key from AIX to Windows

3. Run puttygen.exe and load the private key, save it without password as identity.ppk in a safe directory.

4.To use SFTP use Putty's "psftp" as follows:

"c:\program files\putty\psftp.exe" -i \path\to\identity.ppk user@host

Then, it shows "server refused our key" and "Server refused public key", I have to input password to login AIX.

Yesterday, I thought I was successful to use WinSCP to do it without password, today, I cannot, and it shows the same result .

I don't change any configuration on AIX and Windows.

Who know why I cannot do it today?

Thanks a lot!
Reply With Quote
Remove advertisements
!!
Forum Sponsor