Ghoul

hello sir,
machine-ghoul
i have user.txt. i am looking for root. i get to know that i have to upload a static nmap into ssh server. but i am having trouble in that , i dont know how but nmap is a dir and whenever i try to use scp to upload it. it uploads as a dir. but i saw in ippsec vaut video that he gives the dir a executable permission.
please tell me commands that i must use. please!!