2
votes
0answers
29 views

scp doesn't work when my .bashrc is echoing to console

Ok, so I have used linux for a long time but this is the weirdest thing I have encountered in a long time. Maybe I just don't do a lot of scp so probably missing something simple here. So in my ...
2
votes
1answer
375 views

Using wildcards in scp command

I have a bash script which copies several files to a remote server using scp. This script works fine but now I need to add a file that contains a wildcard in the name and i have a problem with it. ...
0
votes
2answers
256 views

How to copy all directory from another host to current host on Linux

My current files and directories are hosted with Godaddy.com and they don't allow scp over to another host, and I want to get all the pictures for wordpress under wp-content/uploads/* but when I tried ...
0
votes
0answers
262 views

trying to transfer a file from my computer to a unix server

I m trying to automate the deployment process wherein i follow the following steps- 1.Run a Ant Script to build a .ear file 2.Login to the unix server using putty(SSH Connection) providing the login ...
5
votes
3answers
4k views

How to gzip a directory, transfer via scp, and decompress in one command?

I frequently transfer large directories over scp and it would be sweet if I could somehow compress the directory, send it, and decompress it all in one. Is something like this possible?
9
votes
1answer
6k views

Using SCP or SFTP with my ssh config file?

Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
1
vote
1answer
172 views

single persistent scp connection program options

I'm using PSCP (part of the putty package) to make several connections to a server but my boss would like to reduce the number of connections to 1. Is there a Windows program like PSCP which only ...
6
votes
5answers
2k views

Windows equivalent of SSH

I don't know Windows very well and only vaguely know my way around the Command Prompt. Is there an equivalent to SSHing into another Windows computer via cmd? Equivalents to SCP and other Linux ...
1
vote
2answers
161 views

Secure copy in Linux

I wanna simpy exchange 3 directories to a collegue's home directory (I dont have write access to that one) from my home directory, probably using secure copy if possible. I am not good with Linux ...
2
votes
2answers
9k views

SCP from Windows using the colon-inclusive full path

I'm trying to run SCP on my Windows box through a batch file. I want to do something like: scp "C:\myfile.txt" user@host:path Of course scp thinks that "C" is my source host and "\myfile.txt" is ...
27
votes
6answers
23k views

scp to remote server with sudo

I have a file on server A (which is behind a NAT so not directly addressable). The file needs to be copied to server B in a directory restricted to root. I have an account on server B with sudo ...