Showing hidden files in specific directories?
If you want to hide specific files/folders from Finder (and any Open/Save dialogs) there is always

chflags hidden FILENAME


If, on the other hand, you only want to make specific dot-files/directories (like .ssh or .bashrc) visible in Finder, you may be better of with creating non-dotted symlinks

ln -s .bashrc bashrc
ln -s .ssh ssh


and using them to access the files where needed.