I ssh into centos server using user "centos" and there is a file /usr/share/nginx/sitename/file.sql, which is owned by root or some other user i don't know so i can not access file.sql directly, however if i do using sudo privilege then it is accessible
now how can i copy file.sql using bitvise terminal when logged in via user "centos"
i tried using scp root@localhost:/usr/share/nginx/sitename/file.sql c:/ which gave following erro
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).