error code: 3, Message: 1291, Server: Permission denied 11

Advertisement

dreifels
Joined:
Posts:
1
Location:
germany

error code: 3, Message: 1291, Server: Permission denied 11

Hello,

First time I use it, not familiar with PuTTY or any of SSH.
Want to access server by root, look what folders + what files are there, with timestamps.

After login successfully, I get folder tree, click on /home (or on /backup) and get
error code: 3 Request 11
Below complete log (I replaced login name, IP, and port here)
. 2009-03-28 02:30:56.468 --------------------------------------------------------------------------
. 2009-03-28 02:30:56.468 WinSCP Version 4.1.8 (Build 415) (OS 5.1.2600 Service Pack 3)
. 2009-03-28 02:30:56.468 Login time: Samstag, 28. März 2009 02:30:56
. 2009-03-28 02:30:56.468 --------------------------------------------------------------------------
. 2009-03-28 02:30:56.468 Session name: myLoginName@111.111.111.111
. 2009-03-28 02:30:56.468 Host name: 111.111.111.111 (Port: 2222)
. 2009-03-28 02:30:56.468 User name: myLoginName (Password: No, Key file: No)
. 2009-03-28 02:30:56.468 Tunnel: No
. 2009-03-28 02:30:56.468 Transfer Protocol: SFTP (SCP)
. 2009-03-28 02:30:56.468 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-03-28 02:30:56.468 Proxy: none
. 2009-03-28 02:30:56.468 SSH protocol version: 2; Compression: No
. 2009-03-28 02:30:56.468 Bypass authentication: No
. 2009-03-28 02:30:56.468 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-03-28 02:30:56.468 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-03-28 02:30:56.468 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-03-28 02:30:56.468 SFTP Bugs: -,-
. 2009-03-28 02:30:56.468 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-03-28 02:30:56.468 Shell: default, EOL: 0
. 2009-03-28 02:30:56.468 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-03-28 02:30:56.468 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-03-28 02:30:56.468 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-03-28 02:30:56.468 Cache directory changes: Yes, Permanent: Yes
. 2009-03-28 02:30:56.468 DST mode: 1
. 2009-03-28 02:30:56.468 --------------------------------------------------------------------------
. 2009-03-28 02:30:56.484 Looking up host "111.111.111.111"
. 2009-03-28 02:30:56.484 Connecting to 111.111.111.111 port 2222
. 2009-03-28 02:30:56.843 Server version: SSH-2.0-OpenSSH_3.9p1
. 2009-03-28 02:30:56.890 We claim version: SSH-2.0-WinSCP_release_4.1.8
. 2009-03-28 02:30:56.921 SSPI: acquired credentials for: YYY@ZZZ
. 2009-03-28 02:30:56.921 Cannot convert IP address to SPN: DNS is not trusted
. 2009-03-28 02:30:56.937 GSSKEX disabled: 
. 2009-03-28 02:30:56.937 Using SSH protocol version 2
. 2009-03-28 02:30:57.031 Doing Diffie-Hellman group exchange
. 2009-03-28 02:30:57.312 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-03-28 02:30:57.671 Host key fingerprint is:
. 2009-03-28 02:30:57.687 ssh-rsa 1024 f3:7a:7c:07:0a:32:4f:e6:37:6e:ae:3c:ad:33:d3:9e
. 2009-03-28 02:30:57.687 Initialised AES-256 SDCTR client->server encryption
. 2009-03-28 02:30:57.687 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-03-28 02:30:57.687 Initialised AES-256 SDCTR server->client encryption
. 2009-03-28 02:30:57.687 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-03-28 02:30:57.968 Using username "myLoginName".
. 2009-03-28 02:30:58.125 Prompt (6, SSH password, , &Passwort:)
. 2009-03-28 02:31:14.500 Sent password
. 2009-03-28 02:31:14.640 Access granted
. 2009-03-28 02:31:14.750 Opened channel for session
. 2009-03-28 02:31:14.890 Started a shell/command
. 2009-03-28 02:31:14.890 --------------------------------------------------------------------------
. 2009-03-28 02:31:14.890 Using SFTP protocol.
. 2009-03-28 02:31:14.890 Doing startup conversation with host.
> 2009-03-28 02:31:14.890 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-03-28 02:31:15.015 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-03-28 02:31:15.062 SFTP version 3 negotiated.
. 2009-03-28 02:31:15.062 We believe the server has signed timestamps bug
. 2009-03-28 02:31:15.062 We will use UTF-8 strings for status messages only
. 2009-03-28 02:31:15.062 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-03-28 02:31:15.062 Getting current directory name.
. 2009-03-28 02:31:15.062 Getting real path for '.'
> 2009-03-28 02:31:15.062 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-03-28 02:31:15.187 Type: SSH_FXP_NAME, Size: 47, Number: 16
. 2009-03-28 02:31:15.187 Real path is '/home/myLoginName'
. 2009-03-28 02:31:15.187 Listing directory "/home/myLoginName".
> 2009-03-28 02:31:15.187 Type: SSH_FXP_OPENDIR, Size: 22, Number: 267
< 2009-03-28 02:31:15.312 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-03-28 02:31:15.421 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-03-28 02:31:15.562 Type: SSH_FXP_NAME, Size: 681, Number: 524
> 2009-03-28 02:31:15.562 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-03-28 02:31:15.687 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-03-28 02:31:15.718 Status/error code: 1
> 2009-03-28 02:31:15.718 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-03-28 02:31:15.718 Startup conversation with host finished.
. 2009-03-28 02:31:26.921 Cached directory change via "/home" to "/home".
. 2009-03-28 02:31:26.921 Getting current directory name.
. 2009-03-28 02:31:26.921 Listing directory "/home".
> 2009-03-28 02:31:26.921 Type: SSH_FXP_OPENDIR, Size: 14, Number: 1291
< 2009-03-28 02:31:26.921 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2009-03-28 02:31:26.921 Discarding reserved response
< 2009-03-28 02:31:27.046 Type: SSH_FXP_STATUS, Size: 34, Number: 1291
< 2009-03-28 02:31:27.046 Status/error code: 3, Message: 1291, Server: Permission denied, Language:  
* 2009-03-28 02:31:27.062 (ECommand) Fehler beim Anzeigen des Verzeichnisses "/home".
* 2009-03-28 02:31:27.062 Erlaubnis verweigert.
* 2009-03-28 02:31:27.062 Fehlernummer: 3
* 2009-03-28 02:31:27.062 Fehlermeldung vom entfernten Rechner : Permission denied
* 2009-03-28 02:31:27.062 Anforderungsnummer: 11
. 2009-03-28 02:31:41.890 Closing connection.
. 2009-03-28 02:31:41.890 Sending special code: 12
. 2009-03-28 02:31:41.890 Sent EOF message

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: error code: 3, Message: 1291, Server: Permission denied 11

As you can see in the error message ("Permission denied") you do not have permissions to enter or list that directory.

Reply with quote

martin
Site Admin
martin avatar

Well, I'm sorry. But that's not a problem of WinSCP. Your should seek a help with administrator of your server or vendor of your SFTP server. It is the server who denies you access.

Reply with quote

Advertisement

You can post new topics in this forum