I have two remote Debian servers, A and B. How can I copy a directory of files at `~/Documents/training_results` existing on server A to the path `~/training_results` on server B? I have SSH access on my local laptop to each of the servers, but neither of the servers have SSH access to the other.
I have two remote Debian servers, A and B. How can I copy a directory of files at `~/Documents/training_results` existing on server A to the path `~/training_results` on server B? I have SSH access on my local laptop to each of the servers, but neither of the servers have SSH access to the other.
user
I have tried the following command on server A:

```
scp -r ~/Documents/training_results/ serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
rsync -r ~/Documents/training_results/ serverB:~/training_results
```

But I get the following error:

```
rsync: connection to serverB: failed (Connection refused)
```

I have also tried the following command on server A:

```
ssh serverB "mkdir -p ~/training_results"
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
ssh serverB "rsync -r ~/Documents/training_results/ ~/training_results"
```

But I get the following error:

```
rsync: connection to serverB: failed (Connection refused)
```

I have also tried the following command on server A:

```
ssh serverB "mkdir -p ~/training_results"
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
ssh serverB "rsync -r ~/Documents/training_results/ ~/training_results"
```

But I get the following error:

```
rsync: connection to serverB: failed (Connection refused)
```

I have also tried the following command on server A:

```
ssh serverB "mkdir -p ~/training_results"
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
ssh serverB "rsync -r ~/Documents/training_results/ ~/training_results"
```

But
assistant
I have two remote Debian servers, A and B. How can I copy a directory of files at `~/Documents/training_results` existing on server A to the path `~/training_results` on server B? I have SSH access on my local laptop to each of the servers, but neither of the servers have SSH access to the other.
user
I have tried the following:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried:

```
scp -r ~/Documents/training_results/ user@serverB:~/training_results
```

But I get the following error:

```
ssh: connect
assistant
I have two remote Debian servers, A and B. How can I copy a directory of files at `~/Documents/training_results` existing on server A to the path `~/training_results` on server B? I have SSH access on my local laptop to each of the servers, but neither of the servers have SSH access to the other.
user
I have tried the following command on server A:

```
scp -r ~/Documents/training_results/ serverB:~/training_results
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
rsync -r ~/Documents/training_results/ serverB:~/training_results
```

But I get the following error:

```
rsync: connection to serverB: failed (Connection refused)
```

I have also tried the following command on server A:

```
ssh serverB "mkdir -p ~/training_results"
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
ssh serverB "rsync -r ~/Documents/training_results/ ~/training_results"
```

But I get the following error:

```
rsync: connection to serverB: failed (Connection refused)
```

I have also tried the following command on server A:

```
ssh serverB "mkdir -p ~/training_results"
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
ssh serverB "rsync -r ~/Documents/training_results/ ~/training_results"
```

But I get the following error:

```
rsync: connection to serverB: failed (Connection refused)
```

I have also tried the following command on server A:

```
ssh serverB "mkdir -p ~/training_results"
```

But I get the following error:

```
ssh: connect to host serverB port 22: Connection refused
```

I have also tried the following command on server A:

```
ssh serverB "rsync -r ~/Documents/training_results/ ~/training_results"
```

But
assistant