How to do ssh without password from windows to AIX?


 
Thread Tools Search this Thread
Operating Systems AIX How to do ssh without password from windows to AIX?
# 1  
Old 12-03-2007
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?
# 2  
Old 12-03-2007
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
# 3  
Old 12-04-2007
Quote:
Originally Posted by porter
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!
# 4  
Old 12-04-2007
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
# 5  
Old 12-04-2007
Quote:
Originally Posted by porter
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
# 6  
Old 12-04-2007
Quote:
Originally Posted by porter
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!
# 7  
Old 12-04-2007
However, if I use SSH File Transfer tool, how to do it?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. Red Hat

SSH password less setup asking for password

Hello Experts, when I am trying to connect my target server through sftp after creating ssh password less setup, it is asking for passowrd to connect. to setup this I followed below process: -->generated keys by executing the command "ssh-keygen -t rsa" -->this created my .ssh directory... (9 Replies)
Discussion started by: Devipriya Ch
9 Replies

3. AIX

How to ssh from an AIX OS server to a Fabric OS server without password?

Hi I'd like to ssh from an AIX OS server ( v5.3) to a Fabric OS server ( v6.1.2 ) without password. I tried using dsa or rsa keys but it didn't work, the aix server still asked for the password. Somebody help, please :(:(:( (8 Replies)
Discussion started by: bobochacha29
8 Replies

4. AIX

ssh keys - no password prompt from AIX to RPA

hello, i am running an AIX 5.3 machine and i want to connect via ssh to the RPA Management site without prompting for password. i already had a public key of this server as i use the same thing for ssh connection with other AIX machines. i connected to the RPA Management Site and i run the... (9 Replies)
Discussion started by: omonoiatis9
9 Replies

5. UNIX for Dummies Questions & Answers

SSH with no password

How to setup SSH to not require a password when establishing an SSH connection from server A to server B for particular user? (4 Replies)
Discussion started by: sam101
4 Replies

6. Shell Programming and Scripting

shellscript on AIX to download file from windows to AIX

i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue. error message :... (1 Reply)
Discussion started by: kvkc
1 Replies

7. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

8. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

9. Windows & DOS: Issues & Discussions

ssh: sending password from windows client

Hi. My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Discussion started by: kukuruku
4 Replies

10. AIX

How to use SSH Secure File Transfer tool from windows to AIX without password?

If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
Login or Register to Ask a Question