Tag Info

New answers tagged

0

Cisco doesn't require scp enabled to copying from itself.Enough to properly configure ssh server on remote machine. FreeBSD vim /etc/ssh/sshd_config --skip-- PasswordAuthentication yes## uncomment this line Then run from Cisco device: Router#copy startup-config scp://user:pass@host/filename` File will be saved in your home dir.


0

I added this line on receiving server and now the transfer is possible set rate 509600


0

You may be using the public key (instead of the private key) to connect. Make sure that id_rsa does indeed contain your private key.


5

There are three common factors that affect a transfer speed: Bandwidth - An obvious factor that's apparently not your trouble. Network delay/latency - The SFTP is packet oriented-protocol. When downloading, the SFTP client sends a "read" request to the SFTP server, waits for a response, appends returned data to a local file; and repeats, until the end of ...


0

I created a file on my remote host with the literal name `"/tmp/some file with spaces(and brackets).txt~. If you double+single quote the name like so I was able to transfer it. Inspired by this question. /tmp$ scp remotehost:"'/tmp/some file with spaces(and brackets).txt'" . some file with spaces(and brackets).txt 100% 0 0.0KB/s 00:00 ...


0

You need to escape each spaces and brackets : #!/bin/bash aaa='/path/to/some\ file\ with\ spaces\(and brackets\).txt' scp user@example.com:"$aaa" /test/ By the way, a more friendly alternative would be to enclose $aaa with single quotes in addition to double quotes : #!/bin/bash aaa='/path/to/some file with spaces(and brackets).txt' scp ...


1

Below worked for me. I think you just need to escape the spaces, brackets or anything else and you should be good. #!/bin/bash aaa="/tmp/untitled\ text\ 2.txt" scp -r user@example.com:"$aaa" .


0

You'll need to append the contents of Joe's public key (.ssh/id_rsa.pub) to the ~newuser/.ssh/authorized_keys file on the server. I would reccomend using RDP on the macbook to connect to your windows machine, making sure the clipboard is shared. cat the contents of the public key on the macbook, then open a putty window connected to the server. Then ...



Top 50 recent answers are included