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

steitieh

Well-known member
Joined
Apr 23, 2014
Messages
113
Best answers
0
Ratings
5 1
Points
18
#1
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
Joined
Jan 18, 2017
Messages
314
Best answers
1
Ratings
79 4
Points
28
#2
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
Joined
Nov 17, 2016
Messages
316
Best answers
1
Ratings
39 2
Points
28
#3
I don't think thats possible, unless you decide to upload them to a website like justbeam.it and download it from there.
 
Joined
Oct 24, 2016
Messages
47
Best answers
0
Ratings
3
Points
0
#4
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
Joined
Nov 26, 2016
Messages
343
Best answers
0
Ratings
22
Points
18
#5
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.
 
Joined
Feb 23, 2017
Messages
26
Best answers
0
Ratings
4
Points
3
#6
Joined
Jan 18, 2017
Messages
48
Best answers
0
Ratings
1
Points
8
#7
You can use Filezilla for uploading files to your server.
 

Dewlance

Well-known member
Joined
Dec 20, 2014
Messages
102
Best answers
0
Ratings
19 1
Points
18
#8
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
Best answers
0
Ratings
5 1
Points
18
#9
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.
 
Joined
Feb 23, 2017
Messages
26
Best answers
0
Ratings
4
Points
3
#10
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
Joined
Jan 17, 2017
Messages
92
Best answers
0
Ratings
14
Points
0
#11
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.
 
Joined
Feb 18, 2017
Messages
18
Best answers
0
Points
0
#12
You can use any sftp client to do this winscp or filezilla , just use your root login/password and 22 port. Good Luck!
 
Joined
Jun 3, 2018
Messages
30
Best answers
0
Ratings
8 1
Points
8
#14
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
1,989
Replies
1
Views
1,096
Replies
3
Views
2,129
Replies
8
Views
2,718
Latest Threads
  • Awaiting approval
Replies
0
Views
1
  • Deleted
  • Deleted by Localnode
  • Reason: Wrong section
Replies
0
Views
4
  • Deleted
  • Deleted by fwh
Replies
0
Views
1
Recommended Threads
Replies
5
Views
840
Replies
1
Views
1,188
Replies
13
Views
2,245

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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