I connect via putty via ssh to the server, is it possible to do something like an automatic switch to the correct directory, for example / www / mysite /

In winSCP, it seems that you can specify the putty startup parameters, but it did not work for me

enter image description here

  • After the host, specify the path through the colon does not roll? - Daxtar

1 answer 1

In the main Putty window, in the SSH section, there is a remote command field for entering commands that will be executed on the remote server upon successful connection. If you type cd /www/mysite/ , then after authorization you will go to the specified directory.