Skip to main content

Questions tagged [scp]

Secure Copy or SCP is a means of securely transferring computer files between a local and a remote host or between two remote hosts.

0 votes
0 answers
21 views

wondering on performance issue with scp over WAN

I'm using a scp to retrive log files from linux machine. On the way between the PC and the linux machine there is WAN simulator which can be configured to some latency and delay. Setting the latency ...
user1977050's user avatar
1 vote
1 answer
76 views

scp from remote Linux server to local windows 11 machine returning "no such file or directory"

So I'm trying to download some data from a remote linux server onto my (unfortunately) windows 11 machine using the scp command in windows powershell. While I can send data to the server just fine, ...
Ataaamic's user avatar
0 votes
2 answers
82 views

SCP from A to C via B without making intermediate copy at B [duplicate]

I haven't seen this issue before, and I have been struggling for days, so I would be so grateful for some help. I have a tar on my Desktop (Desktop) that I am trying to copy to a remote server using ...
user286564's user avatar
0 votes
1 answer
82 views

"Connection refused lost connection" error while using scp command

I tried to transfer a file from an HPC system to a remote CentOS system using the following command line: scp /ANKAN/data/abc.pdf [email protected]:/data/ANKAN But I am getting the following ...
Ankan Sarkar's user avatar
2 votes
0 answers
46 views

SCP launches the SSH sub process with "-oPermitLocalCommand=no" - how to change this?

I have in my SSH ~/.ssh/config the following configuration: Host * # note: this needs in /etc/ssh/ssh_config: PermitLocalCommand yes # LocalCommand gpgconf --reload scdaemon The ...
Matthias Apitz's user avatar
0 votes
1 answer
44 views

Wrong scp destination path

I'm copying a website from remote server to another and I have SOURCE SERVER /var/www/vhosts/namesiteA.com /FolderA /FolderB DESTINATION SERVER /var/www/vhosts/namesiteB.com After ...
RobertIT's user avatar
1 vote
1 answer
71 views

scp copies folder but not contents of the folder

I have been trying to get this to work for a few days now, but I can't figure it out. I am trying to scp a folder full of .tar files from my Ubuntu-Server Server to my Windows Desktop. I want to push ...
Tim_Schmock's user avatar
0 votes
1 answer
50 views

How to use the scp command on two different servers without a password prompt?

I am trying to transfer files from one server to another using the scp command without having to enter a password. To this end I generated key files and copied them to each server's .ssh folder; but ...
Jay's user avatar
  • 1
0 votes
0 answers
81 views

How can I save the output of tail to my clipboard or somewhere on a SSH session where there is only a unidirectional connection and server is limited?

I have to report some logs from some of the servers in our infrastructure which I have limited permissions on. Every time I copy 1000 lines of logs and paste it into Slack, I can't do scp from the ...
Ilgar's user avatar
  • 3
0 votes
0 answers
124 views

SSH from OpenSSH 9 to OpenSSH 5 protocol 2 fails: “illegal argument”

I'm trying to connect from a VMware ESXi 8 machine to a VMware ESXi 5 machine to transfer all the virtual machines.  The problem is that ssh doesn't connect.  The old machine has OpenSSH 5 and the new ...
Miguel's user avatar
  • 109
-1 votes
1 answer
46 views

BASH SCRIPT: Echo to file is transfered to remote host [closed]

I am writing a bash script in order to perform some automatic backups to a remote storage server. The batch script will be run with cron jobs however I'm testing it before. See script below: #!/bin/...
Frangu Mădălin's user avatar
0 votes
0 answers
64 views

Download a file via SSh to local machine

I am using Linux Mint 21.2 and I have set up a remote server. I can upload files to it via SSH by using scp local/path/file.txt [email protected]:/destinationfolder. I am told that I can do it ...
Lereu's user avatar
  • 133
1 vote
1 answer
165 views

How can I allow scp to a user whose login shell is a restricted shell via rbash

Hi I have a login shell via /bin/rbash However i cannot scp to the home directory. Is there anyway to solve this? scp /tmp/x user@ip:/home/ubuntu/x how to make above work when user always gets a ...
Uise's user avatar
  • 11
0 votes
1 answer
36 views

How to syncronize credentials in a small laboratory? (very slim alternative to ldap)

We run a small lab with 20 Linux systems (RaspberryPI, NAS, Desktop PCs) for research with 4 scientists who all need sudo permissions. We trust all 4 users as they have sudo permission and physical ...
Jonas Stein's user avatar
  • 4,138
-1 votes
1 answer
282 views

Why can't I scp a file to this host while I can ssh to it?

I configured sshd on my remote host with /etc/ssh/sshd_config.d/custom.conf: AddressFamily inet6 PermitRootLogin yes PubkeyAuthentication no Match Address fe80::d075:6982:4410:e071 This is a fresh ...
John Smith's user avatar

15 30 50 per page
1
2 3 4 5
53