Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Issues connecting to VPS

Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
Guest

Issues connecting to VPS

Hi, unfortunately I'm having trouble connecting to a VPS with WinSCP (and I'm new to using WinSCP). I get this error:

Unexpected directory listing line 'vps:/# total 84'. Invalid rights description 'ps:/# tot'

I've read the other posts on the boards and the supports docs:
https://winscp.net/eng/docs/requirements
https://winscp.net/eng/docs/ui_login_scp#shell

But, I'm still confused. From what I've read I think it's an issue with either the shell or the directory listing command. I think it could be that my shell opens with "vps:/#" but I'm not sure how to remedy this.

After executing ls -la, I get this:
vps:/# ls -la
total 84
drwxr-xr-x 20 root root 4096 Apr 20 22:19 .
drwxr-xr-x 20 root root 4096 Apr 20 22:19 ..
-rw------- 1 root 500 1024 Apr 20 22:19 .rnd
lrwxrwxrwx 1 root 500 39 Apr 20 22:19 aquota.group -> /proc/vz/vzaquota/000000e1/aquota.group
lrwxrwxrwx 1 root 500 38 Apr 20 22:19 aquota.user -> /proc/vz/vzaquota/000000e1/aquota.user
drwxr-xr-x 2 root root 4096 May 18 2009 bin
drwxr-xr-x 2 root root 4096 May 18 2009 boot
drwxr-xr-x 4 root root 4096 Apr 20 22:19 dev
drwxr-xr-x 70 root root 4096 Apr 21 19:19 etc
drwxr-xr-x 3 root root 4096 Apr 21 19:07 home
drwxr-xr-x 10 root root 12288 Apr 21 18:54 lib
drwxr-xr-x 2 root root 4096 May 18 2009 media
drwxr-xr-x 2 root root 4096 May 18 2009 mnt
drwxr-xr-x 2 root root 4096 May 18 2009 opt
dr-xr-xr-x 42 root root 0 Apr 20 22:19 proc
drwxr-xr-x 2 root root 4096 Apr 21 19:45 root
drwxr-xr-x 2 root root 4096 Apr 21 18:54 sbin
drwxr-xr-x 2 root root 4096 May 18 2009 selinux
drwxr-xr-x 2 root root 4096 May 18 2009 srv
drwxr-xr-x 3 root root 0 Apr 20 22:19 sys
drwxrwxrwt 4 root root 4096 May 12 18:09 tmp
drwxr-xr-x 11 root root 4096 May 18 2009 usr
drwxr-xr-x 14 root root 4096 May 12 02:35 var


Also, I've noticed people recommending changing "Alias LS to display group name" but I can't find that setting at all.
https://winscp.net/forum/viewtopic.php?t=32

Any help is much appreciated.