Hot answers tagged

16

The FileZilla uses a PuTTY/psftp source code for an SFTP implementation. Actually the FileZilla runs a hidden PSFTP sub-process. But it uses its own build of PSFTP (FzSFtp.exe) that employs few optimizations (and other modifications), including: SFTP transfer queue is 4 MB (comparing to 1 MB in PSFTP) Allocates memory in much larger chunks (32 KB ...


7

WinSCP supports SSH keys. In /etc/ssh/sshd_config set PasswordAuthentication No PermitRootLogin without-password Copy your public key to /root/.ssh/authorized_keys (there will be a similar file inside of ec2-user's home directory). If you want to just copy that type sudo mkdir -p /root/.ssh sudo cp /home/ec2-user/.ssh/authorized_keys /root/.ssh/ ...


6

WinSCP uses PuTTY code internally. So there should not be any difference in an encryption algorithm selected. Though WinSCP employs some optimizations on top of the PuTTY code, particularly larger internal and network buffers. That helps in certain cases to achieve a better throughput. Some references: http://winscp.net/tracker/show_bug.cgi?id=615 ...


5

There are three common factors that affect a transfer speed: Bandwidth - An obvious factor that's apparently not your trouble. Network delay/latency - The SFTP is packet oriented-protocol. When downloading, the SFTP client sends a "read" request to the SFTP server, waits for a response, appends returned data to a local file; and repeats, until the end of ...


5

It might be an invalid .bashrc file. In my case I found it was referencing another recently deleted script, and so failed.


3

I think the documentation explains it pretty clearly: http://winscp.net/eng/docs/scriptcommand_synchronize You want to use the synchronize command instead of a get command. When the first parameter is local, changes from remote directory are applied to local directory. When the first parameter is remote, changes from the local directory are applied ...


3

On the very same page you linked to there is a put command (http://winscp.net/eng/docs/script_commands#put). Didn't you even look?


3

The easiest way without chains: download file from Server-A to Server-C using scp download file from Server-C to Server-B using scp download file from Server-B to local PC using WinSCP


3

Use port forwarding. WinSCP, for example, has an option to create a connection through a ssh tunnel and it uses port forwarding. Still, since you need to tunnel through two hops, you cannot use it. I would propably first create a ssh connection to server-B which has a tunnel to server-C. You could use plink.exe for this (part of putty): plink.exe -l ...


3

Edit /etc/ssh/sshd_config, change these lines PermitRootLogin forced-commands-only PasswordAuthentication no To: PermitRootLogin yes PasswordAuthentication yes Set a password for root and restart sshd. passwd service sshd reload Disclaimer: I don't recommend this at all, but since you asked I'll give you the gun - you decide what to do with it.


3

It's a tftp server, so you'll need to use a tftp client.


3

I want to share my solution because I'm also searching several time for a workaround. I'm using CentOS7 right now and try to get connetion via WinSCP (Pubkey Auth). sshd_config .. RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication no UsePAM yes .. @CentOS visudo - add following 2 entrys ...


2

I believe that the error message you are getting explains it. Your server's root account has wrongly setup profile scripts. Some of them print a message that violates SFTP protocol. There's different profile script for a terminal and non-terminal session (one that has and does not have TTY allocated). Messages can be printed only from the script used for ...


2

It turned out that the reason I was receiving this error was that I did not have enough disk space to upload all the files onto the Linux Server. My server having 8gb and the Folder being 8.60gb caused this error. I used this command to check the disk space: df -H Then I increased my EC2 instances disk space to solve the issue. Thank you for your time! ...


2

You prepend the username to the beginning of the key if you want to use gcloud command to add the key to the metadata: $ gcloud compute project-info add-metadata --metadata-from-file sshKeys=my-ssh-keys.pub If you're adding manually, skip prepending the username.


2

Chroot sets / to be that directory. The users home directory is apparently set to /var/www/websites/site1 so when WinSCP logs in, it tries to start in the user's home directory which on the actual system would be /vhosts/wild.domain.com/var/www/websites/site1 Presuming this stefanos user only accesses the system through sftp, it would be safe to set the ...


2

I ran into this problem when I forgot to open the extra ports that Passive FTP mode requires. Basically, you need to open/allow a range of ports through your firewall in addition port 21 that you have already opened. It looks like you are using Microsoft's FTP Server. Microsoft has a support page with instructions here. When I did this, I opened port 21 ...


2

I guess your directory has the wrong owner/group, though the file itself has. What WinSCP is probably complaining about is that it can't set the directory’s timestamp, which is normally also updated if you change a file in it.


2

I don't think Cygwin scp is corrupting the files. I think you need to run dos2unix on your text files before or after copying them to the Linux system. I'm not sure, but you probably need to do same for files going into your jar files before zip'ing them.


1

Yes you can install it. WinSCP is free software: you can use it, redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. WinSCP is distributed in the hope that it will be useful, but without any warranty; without ...


1

If you already have ssh/scp/sftp access via SSH-2.0-OpenSSH_5.3, you don't need to try setting up another daemon.


1

Why do you use WinSCP? That's for file transfers. Use PuTTy instead.


1

I downloaded the same file from oracle site and it's md5sum is -- [chida@localhost Downloads]$ md5sum java_ee_sdk-6u4-jdk7-linux.sh 2a79c24baed38f847def9c4e3398b40a java_ee_sdk-6u4-jdk7-linux.sh I ran the installer script on my 64bit Fedora 17 and it runs well and opens the graphical installer. Do verify if the checksum matches mine else it's ...


1

I believe that winscp by default transfers .sh files in ascii mode, hence your problem.


1

I had the same problem, but in this case it was necessary to check "Bypass proxy" on the Site Manager/advanced tab. It was trying to use the proxy instead of a direct connection.


1

ROBOCOPY a command line utility can do that (and more). It is included with Windows Vista, Windows 7 and Windows Server 2008. Available in the Windows Resource Kit for various other versions (Windows 2000, Windows 2003 etc).


1

Please have a look at Microsofts SyncToy It provides a intuitive gui in case your not much of a fan of the shell. It has about the same features as robocopy, though - I'm not sure which requirement of yours is not met... it does 2way sync on file level, latest timestamp wins.


1

Is Unison what you want? Unison is a file-synchronization tool for Unix and Windows. It allows two copies of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Unison can deal with ...


1

You can always write a PHP script to handle uploads.


1

Try this if you have root : iptables -A PREROUTING -t nat -p tcp -i eth0 --dport *PORT* -j DNAT --to 127.0.0.1:22 Where PORT is a port you can access normally through your proxy, what will happen is that on your server you will get rerouted to that port FROM within your server. So basically you bypass your proxy. Most of the time I use the backup http ...



Only top voted, non community-wiki answers of a minimum length are eligible