If the remote host is Unix-like, type pwd.
pwd
I use this bash script to copy the path to any directory to clipboard
readlink.sh
readlink -f $1 | xclip -selection clipboard
Usage:
readlink.sh ./
readlink.sh /path/to/somewhere/over/the/rainbow