So yesterday I wanted to developed directly into my /var/www folder and made a few steps according to some sites. I first added my user to www-data group and changed ownership to /var/www. Right now everything is set like 755 <username>:www-data
. Additionally I made some changes to ssh_config and added Subsystem sftp internal-sftp
and
Match group sftp
X11Forwarding no
ChrootDirectory %h
AllowTcpForwarding no
ForceCommand internal-sftp
I restarted the service and I was all working nice. Today (the PC was asleep) I get all my connections refused.
Im running ubuntu 12.04lts on Vbox. Host OS is Win 8 pro.
Can any1 help me solve this issue so I can ssh to my VM?
Thanks