LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 04-10-2012, 04:54 AM   #1
raj2arora2009
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Rep: Reputation: Disabled
Question 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?
 
Old 04-10-2012, 07:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...l-user-938858/.

Last edited by unSpawn; 04-10-2012 at 11:07 AM. Reason: //Be nice. Add redirect.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to sftp by a special user raj2arora2009 Linux - Kernel 7 11-29-2012 04:20 AM
LXer: Restricting Users To SFTP Plus Setting Up Chrooted SSH/SFTP (Debian Squeeze) LXer Syndicated Linux News 0 09-06-2011 07:10 AM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 08:10 AM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration