Tag Info

Hot answers tagged

135

Use the -r (recursive) flag: get -r *


55

From Wikipedia: Compared to the earlier SCP protocol, which allows only file transfers, the SFTP protocol allows for a range of operations on remote files – it is more like a remote file system protocol. An SFTP client's extra capabilities compared to an SCP client include resuming interrupted transfers, directory listings, and remote ...


52

In a nutshell, scp can only be used for transferring files, and it is non-interactive (i.e., everything has to be specified on the command line). sftp is more elaborate, and allows interactive commands to do things like creating directories, deleting directories and files (all subject to system permissions, of course), etc.


45

Do have a look at NppFTP Plugin for Notepad++ allowing FTP, FTPS, FTPES and SFTP communications.


32

Use: scp -r mpirocch@my-server:/home/mpirocch/Documents Documents


27

Use lftp: lftp sftp://user@host Then use the mirror command to recursively upload, like this: mirror -R Or to upload just: mirror You have to cd into the directories you want to mirror. Works magically!


22

FTPS is FTP using the SSL protocol for encryption. This is different from the SCP/SFTP family of protocols which use SSH as their transport tunnel. You will usually use the same client programs for scp and sftp (WinSCP for instance; SFTP is an upgraded version of SCP), whereas you usually use a web browser or web Download manager (like filezilla) for FTPS. ...


21

In any Open or Save dialog in OS X, simply press Shift-Command-Period to display hidden files and folders. http://www.macworld.com/article/142884/2009/09/106seehidden.html


19

FileZilla uses the PuTTY suite of tools for its SSH implementation. PuTTY supports using public keys, so by default so does FileZilla. Its as simple as downloading and running Pageant and importing your key or generating a new one using PuTTYgen. You can also manually specify a key file using the Edit->Settings menu item under the connection settings. ...


17

From the help text: "... [-F ssh_config] ..." According to the above, -F expects one argument: path to an OpenSSH configuration file, ~/.ssh/config or similar. But you are giving it a gzipped SQL dump instead. Since plain ssh myalias is already working, you don't even need the -F option here. Just sftp myalias would connect to the server. However, the ...


16

NetDrive is free for home use and fulfills all your requirements. See its review in lifehacker. Features: Mounts remote storage as a local hard disk on your PC Data transfer by drag and drop files in windows explorer Able to run files (video, audio and any other .exe files) Mounts drive automatically when Windows starts. Operating System : Windows 2000, ...


15

From your local machine you can create am SSH tunnel through the intermediate host to the final host: ssh user@intermediate -L 2000:final:22 -N This will open port 2000 on your localhost that will connect directly to the final server on port 22, by tunneling through the intermediate host. Now in another prompt connect with sftp on port 2000 to be tunneled ...


12

In essence, without the GUI or other conveniences: ssh -o ProxyCommand='ssh myfirsthop nc -w 10 %h %p' mydestination You can make this default by editing the config file, by default ~/.ssh/config Host mydestination, mydest2, mydest3 ProxyCommand ssh myfirsthop nc -w 10 %h %p This then allows you to do ssh mydestination scp mydest2:file.txt ./ scp ...


12

Although not strictly equivalent to sftp, rsync is a very powerful alternative for scp and sftp, especially when updating the copies from machine A to machine B, as it doesn't copy the files that haven't been altered; it's also able to remove files from machine B that have been deleted from machine A (only when it's told to of course). In your case, the ...


12

Try: sftp -o "IdentityFile=keyname" jay@server.name.com You can use -o to pass any option that's valid in ~/.ssh/config.


11

Try using Cyberduck, a free, open-source app. Here are the supported protocols: FTP (File Transfer Protocol), FTP/TLS (FTP secured over SSL/TLS), SFTP (SSH Secure File Transfer), WebDAV (Web-based Distributed Authoring and Versioning), Amazon S3 and Rackspace Cloud Files.


10

Yes, there's an application that works exactly like your 'magic-qos-tool', called "trickle". EXAMPLES trickle -u 10 -d 20 ncftp Launch ncftp(1) limiting its upload capacity to 10 KB/s, and download ca- pacity at 20 KB/s.


10

Don't use the sftp program directly if you can find something better. For Linux, many file managers (at least Nautilus and Dolphin, the GNOME and KDE ones) support sftp natively, and there's always sshfs. For windows, there's WinSCP, and probably others. The point of all of these is to let you access files over sftp as if they were on a regular filesytem, so ...


10

Unfortunately there don’t seem to be any existing shell-extensions for Explorer to control the colors of files and folders. If you are open to using alternate shells, then there are a several options: XYplorer supports coloring files (figure 1), but currently only by name. However, they take feature-requests, so you could ask them to implement a ...


10

You get a lot more information about the failure if you run sshfs as: sshfs -odebug,sshfs_debug,loglevel=debug user@host ... Usually this will give you something a lot more helpful to debug the problem.


10

First of all I'd try and see whether it's possible to make the connection more stable. File transfer apart, I don't think it's healthy to work with a connection that drops every 90 seconds. A simple USB WiFi dongle could work miracles there (first, investigate which device is actually causing the disconnection: host A, host B, or the access point? ...


9

SCP is the file transfer tool from SSH. It requires SSH on both client and server. It is not interactive. SFTP is another file transfer tool that can be used with SSH (so it again may require SSH on both client and server) or with any other compatible secure connection tool, since it is intended to be independent of SSH. It is interactive like the old plain ...


9

You can use SFTP's ProxyCommand option to transparently tunnel an SFTP connection over an SSH connection (a bit similar to WhiteFang34's answer, but over the SSH connection's stdin&stdout, rather than a forwarded local TCP port): sftp -o "ProxyCommand=ssh -e none user@intermediatehost exec /usr/bin/nc %h %p 2>/dev/null" user@finalhost (That's ...


9

I personally did not find any option to re-enable FTP Upload for session, but if you go to Project Properties and set in the Run Configuration "tab" the option Upload Files to "On Run" or "Manually", hit Ok, and then modify it again to "On Save", then the FTP Upload on save is enabled again. Hope this was helpful!


8

Simply go to Preferences -> SFTP -> Add keys in FileZilla and add your private key there, it will convert the key for you.


8

Just upgrade Cyberduck to version 3.3b1 or later!


8

What about using something like 7zip or winrar to create split archives of, say 50MB each. That way you can transfer files until connection drops but you don't need to start from scratch each time. # -mx0 indicates no compression to be used (quickest method) 7z a -mx0 -v50m video.7z myVideo.mp4 Once all files transferred (using scp or equivalent) just ...


8

scp (secure copy) is the Linux de facto for transferring files over a secure tunnel. In your case you would want to use the recursive switch, e.g.: scp -r /home/a/ user@remote.host.com:/home/b/



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