In fact I tried it out before writing. To reproduce:
- Created a new customer and in it I created a new subscription with a hosting plan that has ssh enabled called testaccount
- As root I created the /var/www/testaccoun/.ssh/authorized_keys with my public key. Note the missing "t". The entered subscription ID was truncated without warning. The entry field should not allow more characters to prevent this and avoid confusion.
- I logged in successfully with ssh testaccoun@mydomain.com
- By default you end up in the home directory /var/www/testaccoun. I executed:Code
$ chmod u+w . $ ls -al total 28 drwxr-x--- 7 testaccoun www-data 4096 2012-09-27 15:03 . drwxr-xr-x 7 root root 4096 2012-09-27 15:01 .. drwxr-xr-x 2 testaccoun testaccoun 4096 2012-09-27 15:01 htdocs drwxr-x--- 2 www-data testaccoun 4096 2012-09-27 15:01 logs drwxr-x--- 2 testaccoun testaccoun 4096 2012-09-27 15:01 priv drwx------ 2 testaccoun testaccoun 4096 2012-09-27 15:04 .ssh drwxr-x--- 2 testaccoun testaccoun 4096 2012-09-27 15:01 tmp
As you can see the single dot (the home) has now rw permission.