Guest User

Untitled

a guest
Jan 22nd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. [Unit]
  2. Description=Local SFTP Server
  3. Documentation=file://etc/ssh/sftp_config
  4. Requires=network.target
  5.  
  6. [Service]
  7. Type=forking
  8. ExecStart=/usr/sbin/sshd -f /etc/ssh/sftp_config
  9. ExecStop=/bin/kill -9 $MAINPID
  10. SendSIGHUP=yes
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
  14.  
  15. Jan 22 08:00:08 sftp1 systemd[1]: Starting Local SFTP Server...
  16. Jan 22 08:00:08 sftp1 sshd[28112]: Server listening on 0.0.0.0 port 2222.
  17. Jan 22 08:00:08 sftp1 sshd[28112]: Server listening on :: port 2222.
  18. Jan 22 08:01:38 sftp1 systemd[1]: sftp-server.service start operation timed out. Terminating.
  19. Jan 22 08:01:38 sftp1 sshd[28112]: Received signal 15; terminating.
  20. Jan 22 08:01:38 sftp1 systemd[1]: Failed to start Local SFTP Server.
  21. Jan 22 08:01:38 sftp1 systemd[1]: Unit sftp-server.service entered failed state.
  22. Jan 22 08:01:38 sftp1 systemd[1]: sftp-server.service failed.
  23.  
  24. -- Unit sftp-server.service has begun starting up.
  25. Jan 22 08:16:17 sftp1 sshd[28527]: Server listening on 0.0.0.0 port 2222.
  26. Jan 22 08:16:17 sftp1 sshd[28527]: Server listening on :: port 2222.
  27. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=USER_ACCT msg=audit(1516630621.631:151588): pid=28528 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_access,
  28. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=USER_ACCT msg=audit(1516630621.631:151587): pid=28529 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_access,
  29. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=CRED_ACQ msg=audit(1516630621.631:151589): pid=28528 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_uni
  30. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=CRED_ACQ msg=audit(1516630621.631:151590): pid=28529 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_uni
  31. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=LOGIN msg=audit(1516630621.632:151591): pid=28528 uid=0 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=13414 res=1
  32. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=LOGIN msg=audit(1516630621.632:151592): pid=28529 uid=0 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=13415 res=1
  33. Jan 22 08:17:01 sftp1 systemd[1]: Started Session 13415 of user root.
  34. -- Subject: Unit session-13415.scope has finished start-up
  35. -- Defined-By: systemd
  36. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  37. --
  38. -- Unit session-13415.scope has finished starting up.
  39. --
  40. -- The start-up result is done.
  41. Jan 22 08:17:01 sftp1 systemd[1]: Starting Session 13415 of user root.
  42. -- Subject: Unit session-13415.scope has begun start-up
  43. -- Defined-By: systemd
  44. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  45. --
  46. -- Unit session-13415.scope has begun starting up.
  47. Jan 22 08:17:01 sftp1 systemd[1]: Started Session 13414 of user root.
  48. -- Subject: Unit session-13414.scope has finished start-up
  49. -- Defined-By: systemd
  50. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  51. --
  52. -- Unit session-13414.scope has finished starting up.
  53. --
  54. -- The start-up result is done.
  55. Jan 22 08:17:01 sftp1 systemd[1]: Starting Session 13414 of user root.
  56. -- Subject: Unit session-13414.scope has begun start-up
  57. -- Defined-By: systemd
  58. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  59. --
  60. -- Unit session-13414.scope has begun starting up.
  61. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=USER_START msg=audit(1516630621.660:151593): pid=28528 uid=0 auid=0 ses=13414 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyin
  62. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=USER_START msg=audit(1516630621.660:151594): pid=28529 uid=0 auid=0 ses=13415 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyin
  63. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=CRED_REFR msg=audit(1516630621.661:151595): pid=28528 uid=0 auid=0 ses=13414 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root"
  64. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=CRED_REFR msg=audit(1516630621.661:151596): pid=28529 uid=0 auid=0 ses=13415 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root"
  65. Jan 22 08:17:01 sftp1 CROND[28533]: (root) CMD (/usr/lib64/sa/sa1 1 1)
  66. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=CRED_DISP msg=audit(1516630621.691:151597): pid=28528 uid=0 auid=0 ses=13414 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root"
  67. Jan 22 08:17:01 sftp1 audispd[1059]: node=sftp1 type=USER_END msg=audit(1516630621.694:151598): pid=28528 uid=0 auid=0 ses=13414 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyini
  68. Jan 22 08:17:03 sftp1 audispd[1059]: node=sftp1 type=CRED_DISP msg=audit(1516630623.091:151599): pid=28529 uid=0 auid=0 ses=13415 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root"
  69. Jan 22 08:17:03 sftp1 postfix/pickup[27708]: 16A7421C: uid=0 from=<root>
  70. Jan 22 08:17:03 sftp1 postfix/cleanup[26382]: 16A7421C: message-id=<20180122141703.16A7421C@localhost>
  71. Jan 22 08:17:03 sftp1 audispd[1059]: node=sftp1 type=USER_END msg=audit(1516630623.094:151600): pid=28529 uid=0 auid=0 ses=13415 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyini
  72. Jan 22 08:17:03 sftp1 postfix/qmgr[1787]: 16A7421C: from=<root@localhost>, size=861, nrcpt=1 (queue active)
  73. Jan 22 08:17:03 sftp1 postfix/local[26384]: 16A7421C: to=<root@localhost>, orig_to=<root>, relay=local, delay=1, delays=1/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
  74. Jan 22 08:17:03 sftp1 postfix/qmgr[1787]: 16A7421C: removed
  75. Jan 22 08:17:47 sftp1 systemd[1]: sftp-server.service start operation timed out. Terminating.
  76. Jan 22 08:17:47 sftp1 sshd[28527]: Received signal 15; terminating.
  77. Jan 22 08:17:47 sftp1 audispd[1059]: node=sftp1 type=CRYPTO_KEY_USER msg=audit(1516630667.931:151601): pid=28527 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=server fp=SHA256:
  78. Jan 22 08:17:47 sftp1 audispd[1059]: node=sftp1 type=CRYPTO_KEY_USER msg=audit(1516630667.931:151602): pid=28527 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=server fp=SHA256:
  79. Jan 22 08:17:47 sftp1 audispd[1059]: node=sftp1 type=CRYPTO_KEY_USER msg=audit(1516630667.931:151603): pid=28527 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=destroy kind=server fp=SHA256:
  80. Jan 22 08:17:47 sftp1 systemd[1]: Failed to start Local SFTP Server.
  81. -- Subject: Unit sftp-server.service has failed
  82. -- Defined-By: systemd
  83. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  84. --
  85. -- Unit sftp-server.service has failed.
  86.  
  87. debug1: sshd version OpenSSH_7.4, OpenSSL 1.0.2k-fips 26 Jan 2017
  88. [output omitted]
  89. debug1: rexec_argv[0]='/usr/sbin/sshd'
  90. debug1: rexec_argv[1]='-df'
  91. debug1: rexec_argv[2]='/etc/ssh/sftp_config'
  92. debug1: Set /proc/self/oom_score_adj from 0 to -1000
  93. debug1: Bind to port 2222 on 0.0.0.0.
  94. Server listening on 0.0.0.0 port 2222.
  95. debug1: Bind to port 2222 on ::.
  96. Server listening on :: port 2222.
Add Comment
Please, Sign In to add comment