How to make scp copy hidden files?

That should absolutely match hidden files. The / at the end of the source says “every file under this directory”. Nevertheless, testing and research bear you out. This is stupid behavior. The “answer” is to append a dot to the end of the source: scp -rp src/. user@server:dest/ The real answer is to use rsync.

scp without known_hosts check

scp is supposed to take the same command line options as ssh, try: -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null Maybe add -q to disable the warnings as well.

Can scp copy directories recursively?

Yup, use -r: scp -rp sourcedirectory user@dest:/path -r means recursive -p preserves modification times, access times, and modes from the original file. Note: This creates the sourcedirectory inside /path thus the files will be in /path/sourcedirectory

Copying files from server to local computer using SSH

It depends on what your local OS is. If your local OS is Unix-like, then try: If your local OS is Windows ,then you should use pscp.exe utility. For example, below command will download file.txt from remote to D: disk of local machine. It seems your Local OS is Unix, so try the former one. For those who don’t … Read more

Is there a WinSCP equivalent for Linux?

If you’re using GNOME, you can go to: Places → Connect to Server in Nautilus and choose SSH. If you have an SSH agent running and configured, no password will be asked! (This is the same as sftp://root@servername/directory in Nautilus) In Konqueror, you can simply type: fish://servername. Per Mike R: In Ubuntu 14.04 (with Unity) it’s under Files → Connect to Server in the menu or Network → Connect to Server in the sidebar.