Generic filters
Exact matches only

PuTTY: Change default SSH login directory to www folder

16th December 2014

Python

When logging into the PI its annoying having to type the cd /var/www all the time so now I don’t have to….
Go to PuTTY Configuration -> Connection -> SSH. Fill in the “Remote command” field with the following:

Was this code snippet helpful?