#Having trouble deploying django project onto VPS
26 messages · Page 1 of 1 (latest)
You're going to provide the commands and the errors you are getting for anyone to help
ok
so i am using this tutorial: https://www.askpython.com/django/deploying-django-project-on-vps and on the stage where i upload the files, it is saying that scp is not defined
i am aslo having trouble confirming the path to my key
i am retty new to all of this and am not sure what it exactly means
after typing in this command scp -i ~/.ssh/id_rsa -r <file path to project> ubuntu@:STserver.vps.local "/root/BOB" it returns : ```Warning: Identity file /root/.ssh/id_rsa not accessible: No such file or directory.
ssh: Could not resolve hostname c: Temporary failure in name resolution
Warning: Identity file /root/.ssh/id_rsa not accessible: No such file or directory.
ssh: Could not resolve hostname : Name or service not known
scp is a command on your local machine. It exists by default on mac or linux. I would guess you need to install it on Windows
what is scp?
it's a program.
and i thought that the commands that i am typing in the ssh would be ran on the server whihc is running linux in which it would already come by default
it stands for "secure copy" if I remember correctly
scp is the program that will copy files from your local machine to the VPS over ssh
so i need it on teh vps AND on my local macheine
windows 11
but i have a drive partition running ubuntu
i was running into some issues on windows so i thought i should copy some of teh files and do it from ubuntu
is scp free? https://apps.microsoft.com/store/detail/winscp/9P0PQ8B65N8X?hl=en-us&gl=us&cid=downloads&rtc=1
WinSCP is a popular free SFTP and FTP client for Windows, a powerful file manager that will improve your productivity. It offers an easy to use GUI to copy files between a local and remote computer using multiple protocols: Amazon S3, FTP, FTPS, SCP, SFTP or WebDAV. WinSCP can copy files between two local folders too. Power users can automate Wi...
i have PuTTY installed on my windows system so shounnt i already have scp
i acessed teh vps through putty