Connection settings for this article
Host | Login Name (username) | |
---|---|---|
Destination Server | scfront2021 | cNNNNxxxx |
Jump Server | scplatform2021.isee.nagoya-u.ac.jp | cNNNNxxxx |
Your Client | host1 | yourname |
Client –> Jump Server (scplatform2021) –> Destination Server (scfront2021)
Add or edit the following code to ~/.ssh/config on host1.
Host scfront2021 Hostname 133.47.144.61 User cNNNNxxxx Port 61018 ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes ProxyJump cNNNNxxxx@scplatform2021.isee.nagoya-u.ac.jp
The command to copy the file of host1 to scfront2021 is as follows:
host1$ scp ./FILE cNNNNxxxx@scfront2021: FILE 100% 8 1.6KB/s 00:00
The command to copy the file of scfront2021 to host1 is as follows:
host1$ scp -p cNNNNxxxx@scfront2021:FOOBAR . FOOBAR 100% 8 1.6KB/s 00:00