LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issue with Sftp user account getting disconnected (https://www.linuxquestions.org/questions/linux-newbie-8/issue-with-sftp-user-account-getting-disconnected-4175576860/)

James0806 04-06-2016 05:08 PM

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

mralk3 04-07-2016 11:33 AM

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.


All times are GMT -5. The time now is 01:31 AM.