Topic "High port issue"

Author Message
AlexF

Guest


Just did some security tweaking and changed my ssh to a high port number. This has been the only thing that I have changed recently.

I am able to login properly, but whenever I try to upload, rename a file, create directory I receive an error. My log follows:

Type: SSH_FXP_INIT, Size: 5, Number: -1
Type: SSH_FXP_VERSION, Size: 5, Number: -1
SFTP version 3 negotiated.
Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
Type: SSH_FXP_STATUS, Size: 38, Number: 200
Status/error code: 8
Server does not recognise WinSCP.
Getting current directory name.
Getting real path for '.'
Type: SSH_FXP_REALPATH, Size: 10, Number: 272
Type: SSH_FXP_NAME, Size: 47, Number: 272
Real path is '/usr/home/xxx'
Listing directory "/usr/home/xxx".
Type: SSH_FXP_OPENDIR, Size: 22, Number: 523
Type: SSH_FXP_HANDLE, Size: 13, Number: 523
Type: SSH_FXP_READDIR, Size: 13, Number: 780
Type: SSH_FXP_NAME, Size: 2437, Number: 780
Type: SSH_FXP_READDIR, Size: 13, Number: 1036
Reading symlink "www".
Type: SSH_FXP_READLINK, Size: 26, Number: 1299
Type: SSH_FXP_STAT, Size: 26, Number: 1553
Type: SSH_FXP_STATUS, Size: 28, Number: 1036
Type: SSH_FXP_NAME, Size: 43, Number: 1299
Type: SSH_FXP_ATTRS, Size: 37, Number: 1553
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 1796
Type: SSH_FXP_STATUS, Size: 24, Number: 1796
Status/error code: 0
Startup conversation with host finished.
Cached directory change via "public_html" to "/usr/home/xxx/public_html".
Getting current directory name.
Listing directory "/usr/home/xxx/public_html".
Type: SSH_FXP_OPENDIR, Size: 34, Number: 2059
Type: SSH_FXP_HANDLE, Size: 13, Number: 2059
Type: SSH_FXP_READDIR, Size: 13, Number: 2316
Type: SSH_FXP_NAME, Size: 2945, Number: 2316
Type: SSH_FXP_READDIR, Size: 13, Number: 2572
Type: SSH_FXP_STATUS, Size: 28, Number: 2572
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 2820
Type: SSH_FXP_STATUS, Size: 24, Number: 2820
Status/error code: 0
Creating directory "live".
Canonifying: "live"
Getting real path for '/usr/home/xxx/public_html/live'
Type: SSH_FXP_REALPATH, Size: 39, Number: 3344
Type: SSH_FXP_NAME, Size: 81, Number: 3344
Real path is '/usr/home/xxx/public_html/live'
Canonified: "/usr/home/xxx/public_html/live"
Type: SSH_FXP_MKDIR, Size: 43, Number: 3086
Type: SSH_FXP_STATUS, Size: 34, Number: 3086
Status/error code: 3, Message: 3086, Server: Permission denied, Language: ?
Asking user:
Can't create folder 'live'. ("Permission denied.
Error code: 3
Error message from server: Permission denied (?)
Request code: 14")
Copying 1 files/directories to remote directory "/usr/home/xxx/public_html/"
PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No; FnCs: N; RIC: Yes; Resume: S (102400); CalcS: Yes; Mask: *.*
TM: M; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: "C:\Documents and Settings\My Documents\xxx"
Copying "C:\Documents and Settings\My Documents\xxx" to remote directory started.
Binary transfer mode selected.
Checking existence of file.
Type: SSH_FXP_LSTAT, Size: 56, Number: 3591
Type: SSH_FXP_STATUS, Size: 29, Number: 3591
Status/error code: 2
Checking existence of partially transfered file.
Type: SSH_FXP_LSTAT, Size: 65, Number: 3847
Type: SSH_FXP_STATUS, Size: 29, Number: 3847
Status/error code: 2
Opening remote file.
Type: SSH_FXP_OPEN, Size: 73, Number: 4099
Type: SSH_FXP_STATUS, Size: 34, Number: 4099
Status/error code: 3, Message: 4099, Server: Permission denied, Language: ?
(ETerminal) Permission denied.
Error code: 3
Error message from server: Permission denied (?)
Request code: 3
Asking user:
Cannot create remote file '/usr/home/xxx/public_html/xxx.filepart'. ("Permission denied.
Error code: 3
Error message from server: Permission denied (?)
Request code: 3")
(EScpSkipFile) Cannot create remote file '/usr/home/xxx/public_html/xxx.filepart'.
Permission denied.
Error code: 3
Error message from server: Permission denied (?)
Request code: 3
Listing directory "/usr/home/xxx/public_html".
Type: SSH_FXP_OPENDIR, Size: 34, Number: 4363
Type: SSH_FXP_HANDLE, Size: 13, Number: 4363
Type: SSH_FXP_READDIR, Size: 13, Number: 4620
Type: SSH_FXP_NAME, Size: 2945, Number: 4620
Type: SSH_FXP_READDIR, Size: 13, Number: 4876
Type: SSH_FXP_STATUS, Size: 28, Number: 4876
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 5124
Type: SSH_FXP_STATUS, Size: 24, Number: 5124
Status/error code: 0

Any suggestions?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I do not thing that the problem has anything to do with high port. But from the log I cannot see any other cause, "Permission denied" is too general.
_________________
Martin Prikryl
AlexF

Guest


After reviewing, your correct. It is not related to the high port. What's funny is that I am using it to login to another home directory (on the same server as a different user)and it is working without a hitch and all the settings in WinSCP are exactly the same. I've tried to remove the profile/session and recreating it (defalt config) and yet nothing.


Any other suggestions?
AlexF

Guest


Just to clarify:

In WinSCP, I have two sessions: "Client 1 & Client 2", using default settings. Both clients are on the same ded. server (shared ip).
AlexF

Guest


I'M SORRY! Embarassed

Someone changed the permisions on that dir. I feel like an idiot. That should of been the first thing to check. Idea
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License