SSH passthrough allows you to skip the two-step login process, enabling you to transfer files directly from your computer to cfe.
This tutorial assumes that you already have a public/private key pair on your local machine.
On your local system, run:
On SFE, run:
If you get an error that id_rsa.pub doesn't exist, you will need to create a new key using the following command:
Press Enter when prompted for a file location (leave blank for default) Press Enter when prompted for a passphrase (leave blank) Press Enter to confirm a blank passphrase
Add your public key to your .ssh/authorized_keys file on cfe
On CFE, run:
cfe$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
cfe$ chmod 600 ~/.ssh/authorized_keys
In the ~/.ssh/config file on your local system, add the following entries for sfe and cfe. If you do not have a ~/.ssh/config file, you can create one by using the following template:
You should now be able to ssh to CFE from your local machine using the following command without the VPN:
You will be prompted for your sfe password, but should then be passed through to CFE.