Tag Info

New answers tagged

0

scp -i <path-to-public-key> <remote-user@remote machine>:<remote-path-to-file> <local-destination> For example scp -i Downloads/xyz.pem ubuntu@xyz.com:/home/ubuntu/sample.csv Desktop/


0

My Only SOLUTION: 1) Open file (For example, i use Notepad++ ) 2) Open "Find and Replace" window (check "Extended" under "Search Mode"),then type \r\n in first line, and \n in the second and click "Replace all" and Save. From now, they should be opened normally.


0

I find it easier to just run a python SimpleHTTPServer and run wget on other side to download file. Add HTTP procotcol to be added in security config for all sources run the following command in the directory in which file exists $ sudo python -m SimpleHTTPServer 80 on the receiving side, run the following command to download file $ wget ...


0

Are you sure your local Mac is reachable at that IP address, from the remote machine? For example, if you had an RFC 1918 private address such as 192.168.x.y on your local Mac because it was behind a NAT gateway, and the remote machine was on the public side of the NAT gateway, then the remote machine wouldn't be able to reach your local Mac at that address, ...


3

Do I understand correctly that you're using SSH to connect to the remote host, then you're running scp on the remote host to copy the file back to the local host? Without knowing anything about these two hosts, it's perfectly possible that your local host can make SSH connections to the remote, but the remote can't make SSH connections to the local. If you ...


1

Overhead for starting and finish the transfer take extra time. You can see this locally when transferring files too, it takes less time to transfer 1 100MB file than 100 1MB files.


0

You can use sftp with sudo command, for instance: sftp -s 'sudo -u REMOTE_SUDO_USER /usr/libexec/openssh/sftp-server' REMOTE_USER@HOST


0

Here are some other pages discussing the issue. The first is about scp, while the second is about 000 permissions with another programs: http://askubuntu.com/questions/124944/incorrect-permissions-after-copying-over-scp http://stackoverflow.com/questions/5828037/cygwin-sets-file-permission-to-000 ...


2

Here is a page describing how the SCP protocol works. The notable fact is that it can only transfer files and directories; there's no protocol support for symbolic links. In fact, SCP will treat each symbolic link as if it were an actual file or directory. My copy of Xcode.app is 4,936,956,797 bytes according to the OS, and find tells me it has 7,499 ...


0

scp user@ip:/path/to/file_to_transfer filename From local machine input that command. Where filename is something you want to name the file


0

Application registry setting UTF-8 font (example:cmd) Use path to pscp Way-1, powershell: Application path, change \ to _: AppUTF8Font.ps1: $app='.\%SystemRoot%_system32_cmd.exe' SL HKCU:\Console;NI $app;SL $app New-ItemProperty . FaceName -t STRING -va "Lucida Console" New-ItemProperty . FontFamily -t DWORD -va 0x00000036 Need allow local ...


0

Try the following in the command line from the remote machine, you may need to enable port forwarding on your router. scp <file on remote machine> ${SSH_CLIENT%% *}:<directory on local machine> Source: Easily scp a file back to the host you're connecting from (commandlinefu.com)


4

You don't appear to have a destination file, there is no space between the source file and the ..



Top 50 recent answers are included