scp Upload doesn't work but WinSCP does [closed]











up vote
0
down vote

favorite












I'm trying to upload files to a customers server in China from my Ubuntu workstation. Connections via ssh work fine but when I try to upload files via scp (scp file user@server:~), the file is created on the remote system with 0 bytes and the scp command is stuck at 0% with 0b/s forever. Same happens when I try it with the Gnome files manager. I've tested this on two other Linux Servers but to no avail.



But when I try it on my Windows 7 VM with WinSCP it works perfectly fine but since I want to automate the deployment to this server with a script, WinSCP is not an option.



Any ideas on how to get scp to work?










share|improve this question







New contributor




prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as too broad by bertieb, Ipor Sircer, DavidPostill Nov 14 at 12:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















    up vote
    0
    down vote

    favorite












    I'm trying to upload files to a customers server in China from my Ubuntu workstation. Connections via ssh work fine but when I try to upload files via scp (scp file user@server:~), the file is created on the remote system with 0 bytes and the scp command is stuck at 0% with 0b/s forever. Same happens when I try it with the Gnome files manager. I've tested this on two other Linux Servers but to no avail.



    But when I try it on my Windows 7 VM with WinSCP it works perfectly fine but since I want to automate the deployment to this server with a script, WinSCP is not an option.



    Any ideas on how to get scp to work?










    share|improve this question







    New contributor




    prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    closed as too broad by bertieb, Ipor Sircer, DavidPostill Nov 14 at 12:35


    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to upload files to a customers server in China from my Ubuntu workstation. Connections via ssh work fine but when I try to upload files via scp (scp file user@server:~), the file is created on the remote system with 0 bytes and the scp command is stuck at 0% with 0b/s forever. Same happens when I try it with the Gnome files manager. I've tested this on two other Linux Servers but to no avail.



      But when I try it on my Windows 7 VM with WinSCP it works perfectly fine but since I want to automate the deployment to this server with a script, WinSCP is not an option.



      Any ideas on how to get scp to work?










      share|improve this question







      New contributor




      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm trying to upload files to a customers server in China from my Ubuntu workstation. Connections via ssh work fine but when I try to upload files via scp (scp file user@server:~), the file is created on the remote system with 0 bytes and the scp command is stuck at 0% with 0b/s forever. Same happens when I try it with the Gnome files manager. I've tested this on two other Linux Servers but to no avail.



      But when I try it on my Windows 7 VM with WinSCP it works perfectly fine but since I want to automate the deployment to this server with a script, WinSCP is not an option.



      Any ideas on how to get scp to work?







      ssh scp






      share|improve this question







      New contributor




      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 14 at 11:07









      prehfeldt

      1012




      1012




      New contributor




      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      prehfeldt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      closed as too broad by bertieb, Ipor Sircer, DavidPostill Nov 14 at 12:35


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






      closed as too broad by bertieb, Ipor Sircer, DavidPostill Nov 14 at 12:35


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.





























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          How do I know what Microsoft account the skydrive app is syncing to?

          When does type information flow backwards in C++?

          Grease: Live!