How to upload files to VPS or Dedicated Server using SSH on Linux

steitieh

Well-known member
Joined
Apr 23, 2014
Messages
113
Points
18
I usually upload files using FTP or Winscp to my VPS or Dedicated Server but it is pretty slow, I used putty SSH to do things on my hosting servers but seem it didn't have an option to upload files via this tool. Can any one tell me how to upload files from our PC by typing SSH commands? or it is impossible?
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
809
Points
43
I usually upload files using FTP or Winscp to my VPS or Dedicated Server but it is pretty slow, I used putty SSH to do things on my hosting servers but seem it didn't have an option to upload files via this tool. Can any one tell me how to upload files from our PC by typing SSH commands? or it is impossible?
Its not possible to transfer files from your pc to ssh server via putty.
 

HostBastic

Well-known member
Hosting Provider
Registered
Joined
Nov 17, 2016
Messages
320
Points
28
I don't think thats possible, unless you decide to upload them to a website like justbeam.it and download it from there.
 

gigsgigs

Member
Registered
Hosting Provider
Joined
Oct 24, 2016
Messages
47
Points
0
winscp or scp is similar to what you looking for . It transmit data over ssh port .

SCP or WinSCP will slightly slower then FTP, as data is in encryption.

You facing slowness mostly due to your dedicated server network slow or your PC broadband slow.
 

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
Putty or SSH is just a tool to deal with configurations and commands for your hosting servers, it was not designed to upload files from a PC to a web hosting thus I think it is not possible.
 

Robert Plummer

Member
Registered
Joined
Feb 23, 2017
Messages
26
Points
3

liveinhost

Member
Hosting Provider
Registered
Joined
Jan 18, 2017
Messages
48
Points
8
You can use Filezilla for uploading files to your server.
 

Dewlance

Well-known member
Hosting Provider
Registered
Joined
Dec 20, 2014
Messages
115
Points
18
If you are using Penguinet SSH client then you can use SCP or rsync/ftp command to send file from your local pc to other server

RSYNC is a good option.
 

steitieh

Well-known member
Joined
Apr 23, 2014
Messages
113
Points
18
If you are using Windows 10, it is possible to install Bash on Ubuntu on Windows 10 :).... Sounds confusing but basically you can install a Bash-subsystem on Windows 10 to give you access to many traditional linux commands, including SSH/SCP.
Thank you but I am using Linux to hosting my websites.
I think uploading via SSH is impossible and I should find a fast FTP client software.

If you are using Penguinet SSH client then you can use SCP or rsync/ftp command to send file from your local pc to other server

RSYNC is a good option.
Can you tell me a bit more details about rsync and how to use it?
I read this method on this forum but I do't think it likes the method you are mentioning to.
 

Robert Plummer

Member
Registered
Joined
Feb 23, 2017
Messages
26
Points
3
Robert Plummer
If your desktop/home computer is linux and you already have SSH/SCP installed (not putty) just do the following:

Code:
scp /path/to/file.name [email protected]:/path/to/directory/
That will upload the file from any unix/linux computer to any unix/linux computer that has access to scp. Since you mentioned putty which is a windows program, I assumed your desktop (computer that you are uploading files from) ran windows.
 

vpsrus

Well-known member
Hosting Provider
Registered
Joined
Jan 17, 2017
Messages
92
Points
0
I usually upload files using FTP or Winscp to my VPS or Dedicated Server but it is pretty slow, I used putty SSH to do things on my hosting servers but seem it didn't have an option to upload files via this tool. Can any one tell me how to upload files from our PC by typing SSH commands? or it is impossible?
There are several things that can make your upload speed slow one is your internet connection, other is your VPS BW speed limitation (if they have). size of the files and so on, I use WinSCP to upload my files but to increase drastically the speed I would zip all files inside one zip file then upload it to the VPS then SSH and locally unzip them, this is very fast.
 

serversget

Member
Registered
Joined
Feb 18, 2017
Messages
18
Points
0
You can use any sftp client to do this winscp or filezilla , just use your root login/password and 22 port. Good Luck!
 

panamaserver

Member
Registered
Joined
Jun 3, 2018
Messages
35
Points
8
There is many ftp clients that support scp for file transfer over ash, doing this is not the fast way as it will be encripted and it will slow down the process.
Configure an FTP server user and password to use regular ftp will increase speed ONLY BUT Only if the problems is not on your local computer internet upload or speed or on the download speed of your server.
Sometimes home based ISP will give you low upload speed for example here in Panama for 100Mbps Plan you will get 100Mbps download but only 5Mbps upload.
You may use some speed test tool to test your internet connection speed.
 
Newer Threads
Replies
5
Views
4,930
Replies
1
Views
2,848
Replies
3
Views
5,440
Replies
8
Views
5,120
Latest Threads
Replies
0
Views
115
Replies
0
Views
65
Replies
0
Views
57
Replies
1
Views
87
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top