Unable to SFTP with a user made for only to perform SFTP
OpenSSH_5.3p1, OpenSSL 0.9.8p 16 Nov 2010
debug1: Reading configuration data /etc/opt/csw/ssh/ssh_config
debug1: Connecting to 10.112.77.69 [<IP>] port 22.
debug1: Connection established.
debug1: identity file /home/xmukpar/.ssh/id_rsa type -1
debug1: identity file /home/xmukpar/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1.4
debug1: no match: Sun_SSH_1.1.4
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '<IP>' is known and matches the RSA host key.
debug1: Found key in /home/xmukpar/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/xmukpar/.ssh/id_rsa
debug1: Trying private key: /home/xmukpar/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:
Login is only allowed for authorized users
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending subsystem: sftp
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
Transferred: sent 1456, received 1640 bytes, in 0.1 seconds
Bytes per second: sent 14718.9, received 16579.0
debug1: Exit status 1
Connection closed
And the entry in authlog is as:
Apr 10 05:51:28 gcars040 sshd[24499]: [ID 503950 auth.debug] This is not a valid SSO token
Apr 10 05:51:29 gcars040 last message repeated 1 time
Apr 10 05:51:29 gcars040 sshd[24499]: [ID 513199 auth.debug] SSO pam_sm_setcred called - returning PAM_IGNORE
Apr 10 05:51:29 gcars040 sshd[24499]: [ID 800047 auth.info] Accepted keyboard-interactive for cemsxfer from 10.122.122.42 port 41374 ssh2
Apr 10 05:51:29 gcars040 sshd[24499]: [ID 800047 auth.info] subsystem request for sftp
Apr 10 05:51:29 gcars040 sshd[24499]: [ID 800047 auth.info] Received disconnect from 10.122.122.42: 11: disconnected by user
Apr 10 05:51:29 gcars040 sshd[24499]: [ID 513199 auth.debug] SSO pam_sm_setcred called - returning PAM_IGNORE
I have modifies a PAM script.. but this script is working well when i try in install scanario , but during upgrade it is not working...
PLease help me.. tell me where is the error?
|