Если Вы предпочитаете командную строку, попробуйте pscp.exe на локальной машине от прекрасных людей Шпаклевки.
pscp.exe @:
e.g. pscp.exe smith@122.100.150.161:/etc/hosts ./hosts
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
If you want to have the execute bit set on files as default it isn't possible with umask. Because umask always is calculated from the maximum/base rights a "thing" can have.
directories: 777 files: 666