SSH login problem


 
Thread Tools Search this Thread
Operating Systems AIX SSH login problem
# 8  
Old 10-21-2008
Is the user account you are trying a newly created account?

maybe
Code:
usermod -x "{administrativeLockApplied 0}" <username>

to unlock it?

Last edited by wempy; 10-21-2008 at 11:08 AM.. Reason: corrected syntax
# 9  
Old 10-21-2008
I have no "-x" option with usermod...

Code:
bash-2.05a# usermod -x "{administrativeLockApplied 0}" roberto
Usage: usermod [ -u uid ] [ -g group ] [ -G group1,group2 ... ] [-d dir [ -m ] ] [ -s shell ] [ -c comment ] [ -l new_name ] [ -e expire ] [ -r role1,role2 ... ] login

# 10  
Old 10-21-2008
most strange, I thought AIX had POSIX compliant utilities.
Had a google around and found a lot of complaints regarding this exact same problem, it seems there is maybe an imbalance between the os level (I think AIX calls it ML) and the version of openssh.
Another solution was to ensure that the user had a primary group set (I think there is an AIX command for checking users, usrck?? or look in smitty).
# 11  
Old 10-21-2008
I tried with

Code:
bash-2.05a# usrck -n roberto
bash-2.05a#

so I think there is no problem with my user ("-n" reports errors but does not fix them)...
# 12  
Old 10-21-2008
Has this ssh login for normal users worked before? Did anything change in the server e.g. oslevel, OpenSSH and/or OpenSSL?
# 13  
Old 10-22-2008
This ssh login hasn't worked before, and I can't understand what is the problem... Smilie
# 14  
Old 10-22-2008
Quote:
Originally Posted by untamed
This ssh login hasn't worked before[...]
Can you update OpenSSH and OpenSSL to the current versions? You can find the official IBM OpenSSH packages here:
SourceForge.net: OpenSSH on AIX
and OpenSSL here (free registration required):
https://www14.software.ibm.com/webap...o?source=aixbp
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ssh public/private key user login problem

I have a user account configuration with ssh public/private key that works on multiple servers centos and rhel. One server (Server F) that is not working in centos 6.8. When i ssh into server f I get prompted for a password. I have verified the config and it all is good. I put sshd into debug... (8 Replies)
Discussion started by: bash_in_my_head
8 Replies

2. Shell Programming and Scripting

Getting ssh to try login only once

spawn ssh remotehost -l skysmart when the password is incorrect, this will attempt to log in 2 more times, before it exits. is there an option I can pass to ssh that'll make it try only once and will then abort immediately if the password is incorrect? something like: spawn ssh... (1 Reply)
Discussion started by: SkySmart
1 Replies

3. Solaris

Problem with ssh login without password

Hello friends, I have the problem with password less login in solaris 10. Issue : In solaris 10 I have 2 different users on is oracle and the other is archmon. when I try to ssh to the other server from oracle it is successful but when I try to ssh from archmon it fails, and it asks for the... (1 Reply)
Discussion started by: Pavankrv
1 Replies

4. Red Hat

ssh problem could not login

Dear all, I have unknowingly deleted openssh-server on one of my linux boxes... So I could not do ssh in to this machine and also could not scp to it. Now I need to copy and install openssh-server in this box.. How could I do as both ssh and scp is not working. Even FTP is also... (1 Reply)
Discussion started by: jegaraman
1 Replies

5. Shell Programming and Scripting

ssh login

Hi, I am trying to login Server2 from server1 in a shell script and need to perfrom few commands, Below is the command i used to login to server2 from server1 ssh -l username server2 However everytime it executes it asking for password. How do write a script in such way it takes... (1 Reply)
Discussion started by: ch33ry
1 Replies

6. HP-UX

telnet login successful ,but ssh can not login

why I can login by telnet using root account but when i use login by ssh using root account it is not successful ,is it different password i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies

7. Linux

Login Problem SSH/FTP

Hi I have a VPS with CentOS 5 installed and Kloxo v-6.1.4 as CP Suddenly I am not able to login FTP and SSH On FTP client I get the error: Could not connect to server And On Putty Server unexpectedly closed the network connection I have checked the /var/log/secure and /var/log/messages... (1 Reply)
Discussion started by: rizwan65
1 Replies

8. HP-UX

ssh login problem in hp-ux

Hi Everyone.. User is not able to login using ssh whereas using telnet he is able to login in hp-ux. I checked for ssh configuration file but it is not configured for denying any user access. What could be the problem? user is not allowed to use telnet. Thanks. Laxmikant (3 Replies)
Discussion started by: laxmikant
3 Replies

9. UNIX for Dummies Questions & Answers

help with ssh login

hi, i have red hat RHEL-5 on my machine, i ma trying to ssh login on remote machine root@localhost~]# ssh ip_address(of remote machine) it works fine if i know the password, i use wireless network so the ip keeps on changing,so is there any way to access the machine with some unique name, which... (1 Reply)
Discussion started by: ankita tux
1 Replies

10. UNIX for Advanced & Expert Users

SSH remote login problem

Hi: I have been given the responsibility of administering AIX 3.1 machine in my lab recently. And, I am having trouble logging on to the machine using SSH through windous systems. Thus, now no one is able to access it!! The following error message is displayed when I tried to login: "The... (3 Replies)
Discussion started by: pdepa
3 Replies
Login or Register to Ask a Question