Hot answers tagged


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


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 ...


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.


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


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


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!


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. ...


In any Open or Save dialog in OS X, simply press Shift-Command-Period to display hidden files and folders.


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 ...


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. ...


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.


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 ...


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, XP,...


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 ...


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


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 ...


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 file....


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


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 ...


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 ...


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.


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.


None. As you said, SFTP is SSH2-based. It is not the same as FTPS (FTP over TLS) and does not use X.509 certificates in any way. The server authentication in SSH2 is mostly based around "trust on first use", so the keys are not signed at all. However, many of the problems with self-signed certificates don't apply. The only thing even remotely close is ...


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!


Use get -r <dirname>. To move directories within the same server, you can also use mv <oldname> <newname>.


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? Possibly,...


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 size-...


Try mget instead of get. Clarification: mget will work if you are inside the directory you want to copy; if you do something like this: sftp> cd dir_to_get sftp> mget * it will get all the files in that directory. However, it will not recursively get the contents of any subdirectories.

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