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.
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
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.
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.