SFTP problem |
Site Admin
|
If you're working locally try to stop sshd as a system service, then run it (/usr/sbin/sshd or /sbin/sshd depending on the system) in console with -d 3 option for max debug level and -b to stay foreground. It will accept just one connection / client and will quit as soon as connection is closed. All the log will be shown on the console.
If you're working remotely, you can't stop sshd. In this case can try to run 2nd instance of sshd. Pick new TCP port, such as 15001, and run sshd with the same options as above, plus -p 15001. Account settings in PhpED should be updated accordingly to use this port instead of 22. |
||||||||||||
_________________ The PHP IDE team |
|
I tried to stop sshd service, but no change unfortunately.
I am working on Windows. I would really need sftp connection, because plain FTP puts wrong timestamp on uploaded files, so sync to server is practically impossible. Any other idea regarding this? Thank you |
||||||||||||
|
Site Admin
|
according to your logs, sshd is running on your server. Did you try to get more logs from it as I suggested?
|
||||||||||||
_________________ The PHP IDE team |
|
Hi Dmitri,
I have just sent you PM with all logs. Hope it will help. Thank you |
||||||||||||
|
Site Admin
|
I didn't find any problems with authentication, except minor warning about public key authentication. You may want to disable it on SSH Keys tab if you don't use this feature. But anyway, authentication with user/password worked good for you.
Probably the problem has something to with settings. Can you please show me screenshot of corresponding pages in the project _and_ sftp account settings? Is there chance you entered some root directory in the account settings, then set the same root in the project? If you did, they are concatenated and formed non-existent path. For non existent path server might misleadingly reply permissions denied. |
||||||||||||
_________________ The PHP IDE team |
|
Dmitri,
yes, the problem was in directories. Inside accounts settings, when a new sftp account is added, by default "root directory" have forward slash, which I haven't changed. In projects settings top publishing directory was set to /public_html. If slash from accounts is removed, everything is ok, and connection is successfully made. I guess that because of concatenation, path was formed something similar to "//public_html", and probably that was a problem. Thank you very much for your help! |
||||||||||||
|
SFTP problem |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by