Hi, I'm trying to connect to an ssh server that uses PAM, but can't seem to "tell" my ssh client to connect using PAM. How do i do this? Here's what i did - The command: ssh -l user123 -2 -p 22 mysshserver.com -o "PreferredAuthentications=pam' -v The result: OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to mysshserver.com [200.200.200.200] port 22. debug1: Connection established. debug1: identity file /home/user123/.ssh/id_rsa type -1 debug1: identity file /home/user123/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version 3.1.0 SSH Secure Shell (non-commercial) debug1: no match: 3.1.0 SSH Secure Shell (non-commercial) Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.4p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: dh_gen_key: priv key bits set: 137/256 debug1: bits set: 533/1024 debug1: sending SSH2_MSG_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Host 'mysshserver.com' is known and matches the DSA host key. debug1: Found key in /home/user123/.ssh/known_hosts:1 debug1: bits set: 488/1024 debug1: ssh_dss_verify: signature correct debug1: kex_derive_keys debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: done: ssh_kex2. debug1: send SSH2_MSG_SERVICE_REQUEST debug1: service_accept: ssh-userauth debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,password,pam-1@ssh.com debug1: no more auth methods to try Permission denied (publickey,password,pam-1@ssh.com). debug1: Calling cleanup 0x80674b0(0x0) Another command: ssh -l user123 mysshserver.com -v The result: OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to mysshserver.com [200.200.200.200] port 22. debug1: Connection established. debug1: identity file /home/user123/.ssh/identity type -1 debug1: identity file /home/user123/.ssh/id_rsa type -1 debug1: identity file /home/user123/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version 3.1.0 SSH Secure Shell (non-commercial) debug1: no match: 3.1.0 SSH Secure Shell (non-commercial) Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.4p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: dh_gen_key: priv key bits set: 141/256 debug1: bits set: 503/1024 debug1: sending SSH2_MSG_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Host 'mysshserver.com' is known and matches the DSA host key. debug1: Found key in /home/user123/.ssh/known_hosts:1 debug1: bits set: 507/1024 debug1: ssh_dss_verify: signature correct debug1: kex_derive_keys debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: done: ssh_kex2. debug1: send SSH2_MSG_SERVICE_REQUEST debug1: service_accept: ssh-userauth debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,password,pam-1@ssh.com debug1: next auth method to try is publickey debug1: try privkey: /home/user123/.ssh/identity debug1: try privkey: /home/user123/.ssh/id_rsa debug1: try privkey: /home/user123/.ssh/id_dsa debug1: next auth method to try is password user123@mysshserver.com's password: debug1: authentications that can continue: publickey,password,pam-1@ssh.com Permission denied, please try again. user123@mysshserver.com's password: debug1: authentications that can continue: publickey,password,pam-1@ssh.com Permission denied, please try again. user123@mysshserver.com's password: debug1: authentications that can continue: publickey,pam-1@ssh.com debug1: no more auth methods to try Permission denied (publickey,pam-1@ssh.com). debug1: Calling cleanup 0x80674b0(0x0) What's wrong? Thanks for all help! -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list