SCP from UNIX to AIX


 
Thread Tools Search this Thread
Operating Systems AIX SCP from UNIX to AIX
# 1  
Old 04-22-2008
SCP from UNIX to AIX

Hi,
I want to use SCP to transfer files from HP - UNIX to IBM AIX

I have generated keys using ssh-keygen -t rsa on the UNIX box.

I have copied the public key to the AIX box to the HOME_DIR of the user /.ssh/ authorized_keys

When i try to use SCP it is still asking for a password. Please help me.

When i do the same to another HP-UNIX its working fine.

Thanks
Vijay
# 2  
Old 04-22-2008
is the use of keys allowed in the sshd config file?

PubkeyAuthentication yes
PasswordAuthentication no
HostbasedAuthentication no
# 3  
Old 04-22-2008
A frequently made error is to copy the key by means of X-Windows copy & paste. This way the quite lengthy line with the key gets split up into several lines and if the windows are of the same size it looks ok - but isn't.

bakunin
# 4  
Old 04-22-2008
Thanks

Thanks for the replies.
I hope we need to enable in the Cofig file for Authentication.

It means we have to enable Yes in the IBM AIX box right.
PasswordAuthentication Yes
# 5  
Old 04-22-2008
sshd file???

In which path we will have the sshd config file On the UNIX and on the AIX
to change the yes no status
# 6  
Old 04-22-2008
i can only look at solaris... path under solaris 10 is "/etc/ssh/sshd_config"
# 7  
Old 04-22-2008
One more....

I see
PasswordAuthentication yes
on the UNIX side and I beleive it should be Yes only as i am able to transfer to another UNIX box with the same configuration without a prompt for password.

Please confirm me if i need to make that Yes on the AIX server also inorder for the SCP no to ask password when i do SCP.

Thanks
Vijay
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

ASK | How to scp command AIX to windows

Hii Master, im will copy file/directory aix to windows with scp commandline, but some error below: Note: If ping to 172.16.0.250 reply and was connected, and was open/allow port 22 at windows server inbound In aix finish installing ssh in windows finish installing winscp my... (3 Replies)
Discussion started by: williamen
3 Replies

2. AIX

How to copy file from Windows to AIX using SCP?

Hi I'd like to copy file ( or directory ) from a window server to an unix server using scp command, something like this scp -rp admin@10.0.99.99:C:\Documents and Settings\abc.txt /home/oracle/abc.txtI tried testing something like command above but nothing worked. Somebody help !! Thank you (7 Replies)
Discussion started by: bobochacha29
7 Replies

3. UNIX for Dummies Questions & Answers

Use screen command in AIX to scp file to other server

Hello, Please assist me in using screen command in AIX to scp file to other server Best regards, Vishal (10 Replies)
Discussion started by: Vishal_dba
10 Replies

4. AIX

Able to scp/ssh to AIX 6.1 machine, unable to sftp to it

Hello, I am trying to figure out why I cannot sftp onto our aix6.1 machine. I can ssh/scp onto it, and sftp outbound seems to work properly, but I can't sftp onto it. # sftp aix61 Connecting to aix61... root@aix61's password: Connection closed # This machine appears to have the pware... (2 Replies)
Discussion started by: bstring
2 Replies

5. UNIX for Dummies Questions & Answers

scp not working because of prompt (AIX, tcsh)

Hello, I have this problem: I have a server to which I ssh, and it has a special prompt request. The prompt is done by a ?prompt command. It is fine with SSH, since the prompt I guess gets some input, but when I use SCP, the copy always fails. So, I was wondering if there is maybe a... (1 Reply)
Discussion started by: lastZenMaster
1 Replies

6. Shell Programming and Scripting

Removing banners from scp calls (AIX/KSH)

Hello all! I am creating a script to synchronize key files on multiple servers in our environment. What I have works, but I am getting the banner for each of the servers in the output and it makes it difficult to quickly review when there are over a dozen servers in the array. I have tried a few... (4 Replies)
Discussion started by: cpare
4 Replies

7. UNIX for Dummies Questions & Answers

scp from aix to windows (cygwin) fails

Hi... my problem is that I want to copy one html-file to my windows-box webserver using scp. so far no problem but the destination is in /cygdrive/c/program files/dest and as we all know unix doesnt like spaces in paths. scp html.file user@windowsbox:/cygdrive/c/program... (5 Replies)
Discussion started by: cypher82
5 Replies

8. AIX

ssh and scp in aix 4.3.3

I'm using scp to copy files to another company via our 4.3.3 server. I am having transfer problems right at the transfer point in scp. Below are 2 debug outputs showing the bottleneck. The lower level debug preceeds the higher level debug output. It just seems to stop and refuses to transfer... (0 Replies)
Discussion started by: oldogbert
0 Replies

9. HP-UX

SCP HP-UNIX to IBX-AIX

Hi, I want to use SCP to transfer files from HP - UNIX to IBM AIX I have generated keys using ssh-keygen -t rsa on the UNIX box. I have copied the public key to the AIX box to the HOME_DIR of the user /.ssh/ authorized_keys When i try to use SCP it is still asking for a password.... (2 Replies)
Discussion started by: vijaykrc
2 Replies

10. AIX

Problems with scp in AIX-5.2

I am using ssh version OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.6l When i ssh to this server its working fine ,sftp is also fine ,but when i use scp to copy files to it i am prompted for the password and on entering it throws up the following error stty: tcgetattr: A... (1 Reply)
Discussion started by: arnab
1 Replies
Login or Register to Ask a Question