![]() I also tried: scp -i my-key.pem -o 'StrictHostKe圜hecking=no' one also has an error: Permission denied (publickey).Ĭan someone help me out? This is really frustrating. Scp -i my-key.pem -o 'StrictHostKe圜hecking=no' error is: scp: /my/file/path.txt: Permission denied ![]() These are some of the commands I've tried to do without any success. Ssh -i my-key.pem -o 'StrictHostKe圜hecking=no' tail -f /var/TAIL_SCRIPT But I haven't had any success trying to copy from STAGE to PROD when I'm on my DEV server.įor example, it works right now to tail a log file on my prod server if I run these commands from DEV: ssh -T << TAIL_SCRIPT The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine, virtual machine, or container with a running SSH server and take full advantage of VS Codes feature set. I already have SSH keys setup between my DEV server and my stage server. From my DEV server I'd like to copy files from my stage server to my prod server. scp OPTION SRC-FILE USRTARGET-HOST:/ REMOTELOCATION This was the basic command Syntax now we will explain you syntax OPTION such as cipher, sshconfig, identityfile, ssh port, limit, recursive copy etc. I try to transfer a folder of files from my local computer to a server via ssh and scp.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |