Hello. I am having problems getting sftp backups to complete to the WingFTP server. Here are the details:
1. The originating server creates its own RSA public key
2. I cut and paste that key into a notepad (.txt) file and place the file in the Wing FTP root directory.
3. I created a user with no password and enable SSH Public Key Authentication on the Wing FTP server. The key path is the path to the .txt file I created.
4. I give the user directory all access permissions (read, write, delete, etc).
5. I initiate a test connection from the originating server. Below is the output from the Domain Log:
[02] Wed, 10 Sep 2014 10:56:27 (0000727) Connected from 10.220.46.8 (local address 10.211.26.190, port 22)
[01] Wed, 10 Sep 2014 10:56:28 (0000727) SSH session receive user name:ModMsg
[01] Wed, 10 Sep 2014 10:56:28 (0000727) SSH session receive password of user ModMsg
[01] Wed, 10 Sep 2014 10:56:28 (0000727) Public key authentication successfully.
[01] Wed, 10 Sep 2014 10:56:28 (0000727) SSH authentication completed successfully. Client information:SSH-2.0-OpenSSH_3.9p1
[02] Wed, 10 Sep 2014 10:56:28 (0000728) Connected from 10.220.46.8 (local address 10.211.26.190, port 22)
6. It appears that the user is logged in correctly via SSH, but the next step in the process is to transfer a dummy file and delete it. I cannot complete this part of the process. It is as if the Wing FTP server won't let the remote server write the file.
7. I have not been able to get the .txt file to be recognized on the Wing FTP server via the SSH key manager. I gave up on that as it appears I am authenticating successfully, I just cannot transfer any files. I am wondering if this is where my problem lies.
8. All works if I select ftp, (below is the output). My problem is that I must use sftp for these backups.
[02] Wed, 10 Sep 2014 11:13:02 (0000734) Connected from 10.220.46.8 (local address 10.211.26.190, port 21)
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 220 Wing FTP Server ready...
[03] Wed, 10 Sep 2014 11:13:02 (0000734) USER ModMsg
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 331 Password required for ModMsg
[03] Wed, 10 Sep 2014 11:13:02 (0000734) PASS **********
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 230 User ModMsg logged in.
[03] Wed, 10 Sep 2014 11:13:02 (0000734) CWD /
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 250 CWD command successful. "/" is current directory.
[03] Wed, 10 Sep 2014 11:13:02 (0000734) PORT 10,220,46,8,128,101
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 200 Port command successful
[03] Wed, 10 Sep 2014 11:13:02 (0000734) STOR test_conn_dummy1
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 150 Opening BINARY mode data connection for file transfer.
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 226 File received ok.Transfer bytes:0Bytes;Average speed is:0.000KB/s
[03] Wed, 10 Sep 2014 11:13:02 (0000734) PORT 10,220,46,8,128,102
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 200 Port command successful
[03] Wed, 10 Sep 2014 11:13:02 (0000734) RETR test_conn_dummy1
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 150 Data connection accepted; transfer starting for test_conn_dummy1 (0 Bytes).
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 226 File sent ok.Transfer bytes:0Bytes;Average speed is:0.000KB/s
[03] Wed, 10 Sep 2014 11:13:02 (0000734) DELE test_conn_dummy1
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 250 File deleted successfully
[03] Wed, 10 Sep 2014 11:13:02 (0000734) QUIT
[04] Wed, 10 Sep 2014 11:13:02 (0000734) 221 Goodbye.
[02] Wed, 10 Sep 2014 11:13:02 (0000734) Closed session,disconnected from 10.220.46.8
9. Any input would be appreciated. Thank you in advance.
SSH & SFTP
-
FTP
- Site Admin
- Posts: 2179
- Joined: Tue Sep 29, 2009 6:09 am
Re: SSH & SFTP
1. Please use "sftp", not "ssh".
2. You can upgrade to the latest version 4.3.8.
2. You can upgrade to the latest version 4.3.8.
Wing FTP Server
English
Deutsch
简体中文