To get the full path to the file you want to transfer, enter the “pwd” command on the CLI of the remote server while the file is in your current directory. It’ll either be 22 (the default port), or it’ll be given to you when you order your VPS from your hosting provider. Learn more about basic PuTTY commands.Īs for the port number, you’ll need to know which SSH server port your VPS listens to. 3 I have been using the following scp command: SET cfolderc:tempcurrentdate scp -r :/opt/logs/test.log cfoldertestK1B.log The problem with the above is that it keeps asking for a password. You should already have the login credentials when you connect to the server using PuTTY, or some other tool, so we won’t go into it here.
0 Comments
Leave a Reply. |