Is there any chance to skip the known_hosts
check without clearing known_hosts
or disable it in ssh.conf
? I neither have access to known_hosts
nor ssh.conf
yet.
Don't find any suitable in man
.
I currently have two CentOS servers. I need to know how and what the quickest way would be to "tar" up the images directory and SCP it over?
Is that the quickest way that I just suggested, because tarring is taking forever... I ran the command:
tar cvf imagesbackup.tar images
And I was going to just scp it over.
Let me know if there is a quicker way. I have remote/SSH access to both machines.
I want to copy a file from my machine A to server C, but only have access to server C through server B.
Instead of first transferring to server B, log in and then transfer to server C, Is is possible to transfer the file directly with SCP or similar programs?
(Emacs tramp-mode has this feature for editing files remotely).
I often use SCP to copy files around - particularly web-related files. The problem is that whenever I do this, I can't get my command to copy hidden files (eg, .htaccess).
I typically invoke this:
scp -rp src/ user@server:dest/
This doesn't copy hidden files. I don't want to have to invoke this again (by doing something like scp -rp src/.* ...
- and that has strange .
and ..
implications anyway.
I didn't see anything in the scp
man page about an "include hidden files".
How can I accomplish this?