So I'm running the following command
scp \desktop\myfolder\deployments\myfile.txt user@host:/path/to/whereyouwant/thefile
In an attempt to transfer a file from my local windows 7 machine to a remote server (using putty). This works with the exception that I don't have write permissions to that folder.
So if I do the following... 1) log into server using putty 2) sudo su - myadminuser 3) run scp, how would I use the myadminuser? If I try something like...
scp \desktop\myfolder\deployments\myfile.txt **myadminuser**@host:/path/to/whereyouwant/thefile
The problem is I don't have the myadminuser login.