The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
S-233: Cisco Secure Access Control Server for Windows User-Changeable Password Vulner iBot Security Advisories (RSS) 0 03-27-2008 06:10 AM
How to use SSH Secure File Transfer tool from windows to AIX without password? rainbow_bean AIX 6 12-04-2007 02:10 PM
How to find windows user without any password RPG Windows & DOS: Issues & Discussions 0 09-05-2007 10:35 PM
How to Recover windows administrator password? jagdish.machhi@ Windows & DOS: Issues & Discussions 4 08-07-2007 07:43 AM
Windows 2003 sp1 to Solaris 10 6/06 password synchronization (ssod) james_ryan SUN Solaris 0 09-01-2006 10:52 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2007
Registered User
 

Join Date: Dec 2007
Posts: 51
How to do ssh without password from windows to AIX?

I know how to ssh without password from AIX to AIX, however, how to do it from Windows to AIX?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-03-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
What client are you using from windows?

I use putty and do the following....

take the private key from $HOME/.ssh/identity

use puttygen.exe to create a passwordless identity.ppk file on windows.

use that identity in the Connection/SSH/Auth property in "putty.exe" or as the argument to -i in "plink.exe" to "pscp.exe".

eg

plink.exe -i identity.ppk fred@aixbox uname -a
Reply With Quote
  #3 (permalink)  
Old 12-04-2007
Registered User
 

Join Date: Dec 2007
Posts: 51
Quote:
Originally Posted by porter View Post
What client are you using from windows?

I use putty and do the following....

take the private key from $HOME/.ssh/identity

It is on a AIX or Windows?
use puttygen.exe to create a passwordless identity.ppk file on windows.



use that identity in the Connection/SSH/Auth property in "putty.exe" or as the argument to -i in "plink.exe" to "pscp.exe".

Connection/SSH/Auth in AIX?

eg

plink.exe -i identity.ppk fred@aixbox uname -a
I use SSh Secure File Transfer tool to ssh from Windows to AIX without password.

How to use step by step?

Thanks a lot!
Reply With Quote
  #4 (permalink)  
Old 12-04-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Install Putty on windows client.

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

Put that on Windows box.

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

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

"c:\program files\putty\psftp.exe" -i \path\to\identity.ppk user@host
Reply With Quote
  #5 (permalink)  
Old 12-04-2007
Registered User
 

Join Date: Dec 2007
Posts: 51
Quote:
Originally Posted by porter View Post
Install Putty on windows client.

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

Put that on Windows box.

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

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

"c:\program files\putty\psftp.exe" -i \path\to\identity.ppk user@host
Thanks a lot! I can use your command to do it from windows to AIX without password.

However, if I use SSH Secure File Transfer tool, how to do it without password?

This is the SSH Secure File Transfer tool link:
SSH: File Transfer
Reply With Quote
  #6 (permalink)  
Old 12-04-2007
Registered User
 

Join Date: Dec 2007
Posts: 51
Quote:
Originally Posted by porter View Post
Install Putty on windows client.

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

Put that on Windows box.

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

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

"c:\program files\putty\psftp.exe" -i \path\to\identity.ppk user@host
Thank you a lot! I can use your command to do it!
Reply With Quote
  #7 (permalink)  
Old 12-04-2007
Registered User
 

Join Date: Dec 2007
Posts: 51
However, if I use SSH File Transfer tool, how to do it?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0