Sponsored Content
Operating Systems Solaris Can't login using ssh after IPMP config. Post 302760245 by Luis Valle on Wednesday 23rd of January 2013 05:37:07 PM
Old 01-23-2013
Can't login using ssh after IPMP config.

Dear All,
After configuring IPMP in 2 fresh Servers (T5520 and T2000) I can't login in any of them using SSH, I can login by serial console then I had to enable Telnet to access.
IPMP works fine.

This is the error in /var/adm/messages:
Code:
sshd[1071]: Failed password for lvalle from 172.28.12.95 port 50532 ssh2

The configuration for IPMP I used is:
/etc/hosts:
Code:
172.28.11.81 lag-pro-cdrs-01 loghost
172.28.11.82 lag-pro-cdrs-01-e1000g0
172.28.11.83 lag-pro-cdrs-01-e1000g1

/etc/hostname.e1000g0:
Code:
lag-pro-cdrs-01-e1000g0 deprecated -failover netmask + broadcast + group ipmp up addif lag-pro-cdrs-01 netmask + broadcast + up

/etc/hostname.e1000g2:
Code:
lag-pro-cdrs-01-e1000g2 deprecated -failover netmask + broadcast + group ipmp up

This is the network configuration:
Code:
-bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
        inet 172.28.11.82 netmask ffffff80 broadcast 172.28.11.127
        groupname ipmp
        ether 0:14:4f:ae:2d:b0
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.28.11.81 netmask ffffff80 broadcast 172.28.11.127
e1000g2: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
        inet 172.28.11.83 netmask ffffff80 broadcast 172.28.11.127
        groupname ipmp
        ether 0:14:4f:ae:2d:b2

I'll appreciate your advice in this regard.

---------- Post updated at 04:37 PM ---------- Previous update was at 03:37 PM ----------

Self solved Smilie

I'm not sure whether was related to the password complexity (/etc/default/passwd), or the fact my user ID was 0 same as root and in /etc/ssh/sshd_config PermitRootLogin was set to "no".
Strange thing login only failed after configuring IPMP.
So you now know where to look if you have this problem Smilie I think it was the UID 0 stuff.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSh install and config

Hi all........... I work for a big french car manufacturer. I'm supposed to put up a secure protocol, that means ssh. I'm looking for free ssh codes and binaries, and the install and config of it... Any help would be great... :confused: :confused: :confused: Thanx Jason (3 Replies)
Discussion started by: a_new_admin
3 Replies

2. UNIX for Advanced & Expert Users

SSH and config.....

Hi all! I'm new to the SSh concept, and i'm supposed to install SSH over 400 servers. I found out how to generate all the keys and the passphrases ( you'll say that ain't that hard!). But now, i just can't get the thing to start. I started sshd on both of my test servers, and on one of 'em, i... (1 Reply)
Discussion started by: penguin-friend
1 Replies

3. UNIX for Advanced & Expert Users

Editing MySQL config through ssh ?

I need a smal "how to" regarding editing mysql configuration on a unix server. Thanks in advance. (2 Replies)
Discussion started by: Denis.R
2 Replies

4. Solaris

network config problem - how to set the server for others to ssh without password

Hi, I want to ssh the linux server without inputting the password, how can I config this server? Thanks in advance! (1 Reply)
Discussion started by: GCTEII
1 Replies

5. Solaris

IPMP/zones config how for this case ,urgent

Hi I am setting up a test server for actual 2 node servers which will be behind load balancer. I will not be using sun cluster at all. The test machine is installed with solaris 10. I am not sure how to setup a test env of 2 nodes on only 1 node..may be creating 2 zones on test server will... (8 Replies)
Discussion started by: upengan78
8 Replies

6. Solaris

IPMP config

Hi All, I have unplumbed one interface. after that ifconfig -a shows that lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 ... (7 Replies)
Discussion started by: jegaraman
7 Replies

7. UNIX for Dummies Questions & Answers

Pls help me urgently.... Regarding Putty SSH Config.

I have downloaded the Putty SSH configuration. I have entered my Host name as illinois.engr.sjsu.edu and i am trying to save that. But i am unable to save. Also i opened the session and entered my log in name But it says using keyboard interactive authentication.I am not able to get into $ ... (1 Reply)
Discussion started by: VamsiVasili
1 Replies

8. Shell Programming and Scripting

ssh config file

Hello all I have question regarding the id_dsa keys and authorized_keys file in .ssh directory. I know if we try to SFTP, id_dsa.pub file on server1 will be verified with contents of authorized_keys on other server and SFTP will happen once verification passes. No i want to use id_dsa1.pub... (1 Reply)
Discussion started by: vasuarjula
1 Replies

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

10. Shell Programming and Scripting

Ssh config file different location

I'm trying use 'sed' to change a line on sshd_config file. But the problem is sshd_config file can be two different locations.(eg: /etc/ssh/sshd_config or /usr/local/ssh/sshd_config) Was wondering how to write a shell script to search or mention the sshd_config location? (3 Replies)
Discussion started by: pjeedu2247
3 Replies
PAM_SSH(8)						    BSD System Manager's Manual 						PAM_SSH(8)

NAME
pam_ssh -- authentication and session management with SSH private keys DESCRIPTION
The SSH authentication service module for PAM, pam_ssh provides functionality for two PAM categories: authentication and session management. SSH Authentication Module The SSH authentication component verifies the identity of a user by prompting the user for a passphrase and verifying that it can decrypt at least one of the user's SSH login keys using that passphrase. The following options may be passed to the authentication module: debug syslog(3) debugging information at LOG_DEBUG level. use_first_pass If the authentication module is not the first in the stack, and a previous module obtained the user's password, then that password is used to decrypt the user's SSH login keys. If this fails, then the authentication module returns failure without prompting the user for a passphrase. try_first_pass Similar to the use_first_pass option, except that if the previously obtained password fails to decrypt any of the SSH login keys, then the user is prompted for an SSH passphrase. try_first_pass has no effect if pam_ssh is the first module on the stack, or if no previous modules obtained the user's password. allow_blank_passphrase Allow SSH keys with no passphrase. If neither use_first_pass nor try_first_pass is specified, pam_ssh will unconditionally ask for an SSH passphrase. In addition to the above authentication procedure, all standard SSH keys (identity, id_rsa, id_dsa) for which the obtained password matches will be decrypted. SSH Session Management Module The SSH session management component initiates sessions by starting an SSH agent, passing it any SSH login keys it decrypted during the authentication phase, and sets the environment variables accordingly. The SSH session management component terminates the session by killing the previously started SSH agent by sending it a SIGTERM. The following options may be passed to the session management module: debug syslog(3) debugging information at LOG_DEBUG level. INFORMATION LEAKS
Be careful with the using the try_first_pass option when pam_ssh is the first authentication module because it will then leak information about existing users without login keys: such users will not be asked for a specific SSH passphrase, whereas non-existing users and existing users with login keys will be asked for a passphrase. FILES
$HOME/.ssh/identity $HOME/.ssh/id_rsa $HOME/.ssh/id_dsa OpenSSH DSA/RSA keys decrypted by pam_ssh. $HOME/.ssh/login-keys.d/ Location of (possibly symbolic links to) OpenSSH DSA/RSA keys used for authentication and decrypted by pam_ssh. /var/log/auth.log Usual log file for syslog(3) SEE ALSO
ssh-agent(1), syslog(3), pam.conf(5), pam(8). AUTHORS
Andrew J. Korty <ajk@iu.edu> wrote pam_ssh. Dag-Erling Smorgrav wrote the original OpenPAM support code. Mark R V Murray wrote the original version of this manual page. Jens Peter Secher introduced the login-key concept. BSD
November 26, 2001 BSD
All times are GMT -4. The time now is 11:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy