I have a raspberry Pi at home that I can access over the internet using SSH (using only key authentication), which is behind a TP-Link router. This router has a hard drive attached to it, which I can access as a samba share locally using the router's IP address. I would like to access this hard drive when I'm away from home, but I don't want to expose my samba share to the internet (needless to say why). Is there a way I can access it securely through my Raspberry Pi's SSH server ?
I am not 100% sure, if this is what you want. But what you can do:
http://en.wikipedia.org/wiki/SSHFS
Works for me like a charm. I found that using sshfs is much easier than nfs or samba under Linux. This solution definitely works when you access your RPi under Linux. Windows -> RPi, or Mac -> RPi.... perhaps, I don't know. I think there are sshfs solutions, but I don't know how stable or usable they are.