Welcome to the PufferPanel community forums! If you need help please register an account and post in the Support category.

SFTP Issues and File Manager Create Folder Problems



  • Is it possible to create a folder within the file manager? I don't think i've found a way to do so yet.

    Secondly, the automatic SFTP user creation that happens on the node seems to have some weird bug. I can't find a SFTP client that can connect without it erroring. The weirdest part is that according to the logs, the user passes authentication, but then it fails afterwards. Perhaps this entirely related to PufferPanel and Scales, but any pointers would be great. For reference, all the SFTP accounts I create manually work fine.

    **
    LOGS FROM WINSCP:**
    . 2016-01-23 12:46:04.759 --------------------------------------------------------------------------
    . 2016-01-23 12:46:04.759 WinSCP Version 5.7.3 (Build 5438) (OS 10.0.10240 - Windows 10 Pro)
    . 2016-01-23 12:46:04.759 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2
    . 2016-01-23 12:46:04.759 Log level: Normal, Logging passwords
    . 2016-01-23 12:46:04.759 Local account: WIN-6T23BKPQGG5\Shawn
    . 2016-01-23 12:46:04.759 Working directory: C:\Program Files (x86)\WinSCP
    . 2016-01-23 12:46:04.759 Process ID: 4520
    . 2016-01-23 12:46:04.759 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
    . 2016-01-23 12:46:04.759 Time zone: Current: GMT-6 (Canada Central Standard Time), No DST
    . 2016-01-23 12:46:04.759 Login time: Saturday, January 23, 2016 12:46:04 PM
    . 2016-01-23 12:46:04.759 --------------------------------------------------------------------------
    . 2016-01-23 12:46:04.759 Session name: pp-jprots_t6e1e@[BLANKED OUT] (Site)
    . 2016-01-23 12:46:04.759 Host name: [BLANKED OUT] (Port: 22)
    . 2016-01-23 12:46:04.759 User name: pp-ginmin_l5hr5 (Password: [BLANKED OUT], Key file: No)
    . 2016-01-23 12:46:04.759 Tunnel: No
    . 2016-01-23 12:46:04.759 Transfer Protocol: SFTP
    . 2016-01-23 12:46:04.759 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
    . 2016-01-23 12:46:04.759 Disable Nagle: No
    . 2016-01-23 12:46:04.759 Proxy: none
    . 2016-01-23 12:46:04.759 Send buffer: 262144
    . 2016-01-23 12:46:04.759 SSH protocol version: 2; Compression: No
    . 2016-01-23 12:46:04.759 Bypass authentication: No
    . 2016-01-23 12:46:04.760 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
    . 2016-01-23 12:46:04.760 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
    . 2016-01-23 12:46:04.760 KEX: dh-gex-sha1,dh-group14-sha1,dh-group1-sha1,rsa,WARN
    . 2016-01-23 12:46:04.760 SSH Bugs: A,A,A,A,A,A,A,A,A,A,A
    . 2016-01-23 12:46:04.760 Simple channel: Yes
    . 2016-01-23 12:46:04.760 Return code variable: Autodetect; Lookup user groups: A
    . 2016-01-23 12:46:04.760 Shell: default
    . 2016-01-23 12:46:04.760 EOL: 0, UTF: 2
    . 2016-01-23 12:46:04.760 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
    . 2016-01-23 12:46:04.760 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
    . 2016-01-23 12:46:04.760 SFTP Bugs: A,A
    . 2016-01-23 12:46:04.760 SFTP Server: default
    . 2016-01-23 12:46:04.760 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
    . 2016-01-23 12:46:04.760 Cache directory changes: Yes, Permanent: Yes
    . 2016-01-23 12:46:04.760 DST mode: 1
    . 2016-01-23 12:46:04.760 --------------------------------------------------------------------------
    . 2016-01-23 12:46:04.821 Looking up host "[BLANKED OUT]"
    . 2016-01-23 12:46:04.821 Connecting to [BLANKED OUT] port 22
    . 2016-01-23 12:46:05.164 Server version: SSH-2.0-OpenSSH_6.7p1 Debian-5
    . 2016-01-23 12:46:05.164 Using SSH protocol version 2
    . 2016-01-23 12:46:05.164 We claim version: SSH-2.0-WinSCP_release_5.7.3
    . 2016-01-23 12:46:05.313 Doing Diffie-Hellman group exchange
    . 2016-01-23 12:46:05.650 Doing Diffie-Hellman key exchange with hash SHA-256
    . 2016-01-23 12:46:06.422 Verifying host key rsa2 [BLANKED OUT]
    . 2016-01-23 12:46:06.440 Host key matches cached key
    . 2016-01-23 12:46:06.440 Host key fingerprint is:
    . 2016-01-23 12:46:06.440 ssh-rsa 2048 [BLANKED OUT]
    . 2016-01-23 12:46:06.440 Initialised AES-256 SDCTR client->server encryption
    . 2016-01-23 12:46:06.440 Initialised HMAC-SHA-256 client->server MAC algorithm
    . 2016-01-23 12:46:06.440 Initialised AES-256 SDCTR server->client encryption
    . 2016-01-23 12:46:06.440 Initialised HMAC-SHA-256 server->client MAC algorithm
    ! 2016-01-23 12:46:06.772 Using username "pp-ginmin_l5hr5".
    . 2016-01-23 12:46:06.939 Prompt (password, "SSH password", <no instructions>, "&Password: ")
    . 2016-01-23 12:46:06.940 Using stored password.
    . 2016-01-23 12:46:06.953 Sent password
    . 2016-01-23 12:46:07.112 Access granted
    . 2016-01-23 12:46:07.112 Opening session as main channel
    . 2016-01-23 12:46:07.115 Server unexpectedly closed network connection
    . 2016-01-23 12:46:07.115 Knocking FTP port.
    . 2016-01-23 12:46:07.118 FTP port opened, will suggest using FTP protocol.

    • 2016-01-23 12:46:07.124 (EFatal) Server unexpectedly closed network connection.
    • 2016-01-23 12:46:07.124 Authentication log (see session log for details):
    • 2016-01-23 12:46:07.124 Using username "pp-ginmin_l5hr5".
    • 2016-01-23 12:46:07.124
    • 2016-01-23 12:46:07.124 Authentication failed.
    • 2016-01-23 12:46:07.124 The server rejected SFTP connection, but it listens for FTP connections.
    • 2016-01-23 12:46:07.124
    • 2016-01-23 12:46:07.124 Did you want to use FTP protocol instead of SFTP? Prefer using encryption.
      . 2016-01-23 12:47:29.993 --------------------------------------------------------------------------
      . 2016-01-23 12:47:29.993 WinSCP Version 5.7.3 (Build 5438) (OS 10.0.10240 - Windows 10 Pro)
      . 2016-01-23 12:47:29.993 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2
      . 2016-01-23 12:47:29.993 Log level: Debug 1, Logging passwords
      . 2016-01-23 12:47:29.993 Local account: WIN-6T23BKPQGG5\Shawn
      . 2016-01-23 12:47:29.993 Working directory: C:\Program Files (x86)\WinSCP
      . 2016-01-23 12:47:29.993 Process ID: 9752
      . 2016-01-23 12:47:29.993 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
      . 2016-01-23 12:47:29.993 Time zone: Current: GMT-6 (Canada Central Standard Time), No DST
      . 2016-01-23 12:47:29.993 Login time: Saturday, January 23, 2016 12:47:29 PM
      . 2016-01-23 12:47:29.993 --------------------------------------------------------------------------
      . 2016-01-23 12:47:29.993 Session name: pp-jprots_t6e1e@[BLANKED OUT] (Site)
      . 2016-01-23 12:47:29.993 Host name: [BLANKED OUT] (Port: 22)
      . 2016-01-23 12:47:29.993 User name: pp-ginmin_l5hr5 (Password: [BLANKED OUT], Key file: No)
      . 2016-01-23 12:47:29.993 Tunnel: No
      . 2016-01-23 12:47:29.993 Transfer Protocol: SFTP
      . 2016-01-23 12:47:29.993 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
      . 2016-01-23 12:47:29.993 Disable Nagle: No
      . 2016-01-23 12:47:29.993 Proxy: none
      . 2016-01-23 12:47:29.993 Send buffer: 262144
      . 2016-01-23 12:47:29.993 SSH protocol version: 2; Compression: No
      . 2016-01-23 12:47:29.993 Bypass authentication: No
      . 2016-01-23 12:47:29.993 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
      . 2016-01-23 12:47:29.993 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
      . 2016-01-23 12:47:29.993 KEX: dh-gex-sha1,dh-group14-sha1,dh-group1-sha1,rsa,WARN
      . 2016-01-23 12:47:29.993 SSH Bugs: A,A,A,A,A,A,A,A,A,A,A
      . 2016-01-23 12:47:29.993 Simple channel: Yes
      . 2016-01-23 12:47:29.993 Return code variable: Autodetect; Lookup user groups: A
      . 2016-01-23 12:47:29.993 Shell: default
      . 2016-01-23 12:47:29.993 EOL: 0, UTF: 2
      . 2016-01-23 12:47:29.993 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
      . 2016-01-23 12:47:29.993 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
      . 2016-01-23 12:47:29.993 SFTP Bugs: A,A
      . 2016-01-23 12:47:29.993 SFTP Server: default
      . 2016-01-23 12:47:29.993 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
      . 2016-01-23 12:47:29.993 Cache directory changes: Yes, Permanent: Yes
      . 2016-01-23 12:47:29.993 DST mode: 1
      . 2016-01-23 12:47:29.993 --------------------------------------------------------------------------
      . 2016-01-23 12:47:30.057 Looking up host "[BLANKED OUT]"
      . 2016-01-23 12:47:30.057 Connecting to [BLANKED OUT] port 22
      . 2016-01-23 12:47:30.212 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:30.212 Detected network event
      . 2016-01-23 12:47:30.344 Detected network event
      . 2016-01-23 12:47:30.344 Server version: SSH-2.0-OpenSSH_6.7p1 Debian-5
      . 2016-01-23 12:47:30.344 Using SSH protocol version 2
      . 2016-01-23 12:47:30.344 We claim version: SSH-2.0-WinSCP_release_5.7.3
      . 2016-01-23 12:47:30.344 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:30.486 Detected network event
      . 2016-01-23 12:47:30.486 Doing Diffie-Hellman group exchange
      . 2016-01-23 12:47:30.486 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:30.810 Detected network event
      . 2016-01-23 12:47:30.810 Doing Diffie-Hellman key exchange with hash SHA-256
      . 2016-01-23 12:47:31.104 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:31.256 Detected network event
      . 2016-01-23 12:47:31.569 Verifying host key rsa2 [BLANKED OUT]
      . 2016-01-23 12:47:31.572 Host key matches cached key
      . 2016-01-23 12:47:31.572 Host key fingerprint is:
      . 2016-01-23 12:47:31.572 ssh-rsa 2048 [BLANKED OUT]
      . 2016-01-23 12:47:31.573 Initialised AES-256 SDCTR client->server encryption
      . 2016-01-23 12:47:31.573 Initialised HMAC-SHA-256 client->server MAC algorithm
      . 2016-01-23 12:47:31.573 Initialised AES-256 SDCTR server->client encryption
      . 2016-01-23 12:47:31.573 Initialised HMAC-SHA-256 server->client MAC algorithm
      . 2016-01-23 12:47:31.573 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:31.893 Detected network event
      ! 2016-01-23 12:47:31.894 Using username "pp-ginmin_l5hr5".
      . 2016-01-23 12:47:31.928 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:32.071 Detected network event
      . 2016-01-23 12:47:32.071 Prompt (password, "SSH password", <no instructions>, "&Password: ")
      . 2016-01-23 12:47:32.071 Using stored password.
      . 2016-01-23 12:47:32.083 Sent password
      . 2016-01-23 12:47:32.083 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:32.235 Detected network event
      . 2016-01-23 12:47:32.235 Access granted
      . 2016-01-23 12:47:32.235 Opening session as main channel
      . 2016-01-23 12:47:32.235 Waiting for the server to continue with the initialization
      . 2016-01-23 12:47:32.238 Detected network event
      . 2016-01-23 12:47:32.238 Server unexpectedly closed network connection
      . 2016-01-23 12:47:32.238 Knocking FTP port.
      . 2016-01-23 12:47:32.243 FTP port opened, will suggest using FTP protocol.
    • 2016-01-23 12:47:32.290 (EFatal) Server unexpectedly closed network connection.
    • 2016-01-23 12:47:32.290 Authentication log (see session log for details):
    • 2016-01-23 12:47:32.290 Using username "pp-ginmin_l5hr5".
    • 2016-01-23 12:47:32.290
    • 2016-01-23 12:47:32.290 Authentication failed.
    • 2016-01-23 12:47:32.290 The server rejected SFTP connection, but it listens for FTP connections.
    • 2016-01-23 12:47:32.290
    • 2016-01-23 12:47:32.290 Did you want to use FTP protocol instead of SFTP? Prefer using encryption.

Log in to reply
 

1
Online

666
Users

708
Topics

3.2k
Posts

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.