LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2016, 05:08 PM   #1
James0806
Member
 
Registered: Jul 2014
Posts: 41

Rep: Reputation: Disabled
Issue with Sftp user account getting disconnected


Hi the sftp user account trying to connect to the linux server using winscp and upload files they are running the batch process which automates the uploading process they say that when process opens multiple sessions the user gets locked i have gone through the logs but could not find any

following is the log of /var/log/secure
sshd[15904]: pam_unix(sshd:session): session closed for user vcera_ac
sshd[15942]: Accepted password for vcera_ac from 157.145.4.111 port 60726 ssh2
sshd[15942]: pam_unix(sshd:session): session opened for user vcera_ac by (uid=0)
sshd[15946]: subsystem request for sftp
sshd[15946]: Received disconnect from 157.145.4.111: 11: Shutdown
sshd[15942]: pam_unix(sshd:session): session closed for user vcera_ac
sshd[15984]: Accepted password for vcera_ac from 157.145.4.111 port 60754 ssh2
sshd[15984]: pam_unix(sshd:session): session opened for user vcera_ac by (uid=0)
sshd[15988]: subsystem request for sftp
sshd[15988]: Received disconnect from 157.145.4.111: 11: Shutdown
sshd[15984]: pam_unix(sshd:session): session closed for user vcera_ac
sshd[16141]: Accepted password for vcera_ac from 157.145.4.111 port 60918 ssh2
sshd[16141]: pam_unix(sshd:session): session opened for user vcera_ac by (uid=0)
sshd[16161]: subsystem request for sftp

Just wanted to know whether the issue is from the server end or with the batch file itself

Last edited by James0806; 04-06-2016 at 05:09 PM.
 
Old 04-07-2016, 11:33 AM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
Check if the SSH daemon is dieing by looking at other log files in /var/log. Next look and see if you are having network connectivity problems. Maybe your wifi is having problems or there is a faulty Ethernet cable.

You should post more information if you need further help. Please use QUOTE tags when you post in the future for cleaner formatting.

Quote:
Just wanted to know whether the issue is from the server end or with the batch file itself
No clue what the batch file looks like. No clue what the ssh daemon configuration file (/etc/ssh/sshd_config) or log files (/var/log/messages & /var/log/syslog) are showing about service state.
 
  


Reply

Tags
logs, sftp



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
SFTP using another account with passwordless sftp access jobart08 Linux - Newbie 3 03-23-2016 06:14 AM
Can sftp into root account, but not created user? ashamanmiller Linux - Server 23 02-04-2012 11:51 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
User account with SFTP access only nsfx Linux - General 3 01-06-2008 06:52 PM
ssh & sftp, DISCONNECTED:corrupted MAC on input frieza Linux - Networking 6 02-16-2003 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 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