How do I upload a file and edit one?
Hello,
I am connecting to a remote linux mahine using ssh. I am in the /var/www/html dir where I want to upload a html file. What command do I use to uploade a file from my local machine to the remote machine? I would usually use ftp, but my programmer says ftp is not up and running. Please help. Also, what command can I use to edit a spreadsheet? Thanks, Kyle |
You can use sftp, it works just like ftp except it uses a SSH tunnel.
Or scp which copies files from one network location to another using a SSH tunnel as well. |
I am still alittle cofused. Say I have a HTML document names numbers2.html in my C:/ folder on my desktop. Its exact path is c:/numbers2.html
I open putty and login using ssh. Then I go to the /var/www/html where I want to put the numbers2.html file. How do I put it there? Can anyone give me the exact commands? Thanks, Kyle |
you need to use an ftp client, a plain ssh connection is no good. when you're logged it you'd say
cd /var/www/html put c:\numbers.html |
Oh...
You want to upload files from a Windows system to a Linux server. Well then... Then acid_kewpie is right, you will need to use FTP. |
well, so are you...
|
All times are GMT -5. The time now is 02:43 AM. |