The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > 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
Unable to boot after an error in mirroring root rjcool SUN Solaris 1 01-10-2008 05:11 PM
Makefile compilation Error -Unable to create executable sivalives High Level Programming 7 08-18-2007 07:06 PM
Linux security: Authenticate your users and know what they're up to - Search Enterpri iBot UNIX and Linux RSS News 0 07-30-2007 02:30 PM
Error: Internal system error: Unable to initialize standard output file firkus UNIX for Dummies Questions & Answers 2 10-25-2005 04:23 PM
PCC-F-NOERRFILE, unable to open error message file, facility PR2 asutoshch UNIX for Advanced & Expert Users 1 03-11-2005 01:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-04-2008
barkath barkath is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 12
scp Unable to authenticate. Communication error.

I'm having this issue on one of my AIX box, whenever I try to do scp it asks for user, domain and password and just errors out, scp works fine on other AIX servers.
I already checked the permissions of .sshd and its files, stopped and restarted sshd subsystem.
Also it never asks for user, domain and password on other servers.

Any help would really be appreciated.

####->> ssh -v
OpenSSH_4.3p2, OpenSSL 0.9.7l 28 Sep 2006
AIX version == 5200-10-02-0730

####->> scp -vp /tmp/test venus:/tmp/test.oprx
user: root
domain: xxx.com
password:
Unable to authenticate. Communication error.
  #2 (permalink)  
Old 01-04-2008
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Is root allowed to use scp/ssh on this box? Check /etc/ssh/sshd_config
  #3 (permalink)  
Old 01-05-2008
pravinlandge pravinlandge is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 15
Hi Friend

May be following 3 reson

1) If you are trying to do ssh/scp/sftp from server 1 to server 2 through root login then you need to changed variable in /etc/ssh/sshd_config file i.e. Permitrootlogin=yes
and startsrc -s sshd on server 2
2) password of user on server 2 has got expired for normal user
3) account of user on server 2 has got locked due to some reson


Thanks
Pravin Landge
  #4 (permalink)  
Old 01-05-2008
barkath barkath is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 12
scp Unable to authenticate. Communication error

Yes, root is allowed to ssh/scp/sftp, I can ssh or sftp but no scp

All except the below 2 options are commented out in /etc/ssh/sshd_config

#cat sshd_config | grep PermitRoot
PermitRootLogin yes
# override default of no subsystems
Subsystem sftp /usr/sbin/sftp-server


####->> ssh root@venus date
root@venus's password:
Sat Jan 5 15:40:41 CST 2008

####->> sftp root@venus
Connecting to venus...
root@venus's password:
sftp>
  #5 (permalink)  
Old 01-05-2008
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by barkath View Post
Yes, root is allowed to ssh/scp/sftp, I can ssh or sftp but no scp
If you do a bare login, is scp on the path for root? There are a couple of different scp protocols and scp uses a copy of scp run by ssh at the far end. If it can't find it, it can't run it.
  #6 (permalink)  
Old 01-05-2008
barkath barkath is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 12
scp Unable to authenticate. Communication error.

Porter,
Thanks for ur promt response.
scp is on the path for root, just in case, I even went ahead and added the path /usr/bin/scp and also did tried using various protocols like 1,2,4,6 but still the same thing.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0