28
edits
Line 26: | Line 26: | ||
# Non-interactive mode | # Non-interactive mode | ||
# Directly to an external, registered server. | # Directly to an external, registered server. | ||
In a direct connection, | In a direct connection, The Bastion acts as a transparent pass-through. This is the most convenient, likely and common way you will connect. See the "Connecting to a server" section below. | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 71: | Line 71: | ||
=== Using scp, sftp, rsync through The Bastion === | === Using scp, sftp, rsync through The Bastion === | ||
It is possible to scp files in both directions through The Bastion using a special script that The Bastion will generate for you. Follow the [https://ovh.github.io/the-bastion/plugins/open/scp.html scp setup directions] found in The Bastion documentation. | |||
The scp-via-bastion script The Bastion generates needs some minor tweaking. | |||
From: | |||
BASTION_CMD="ssh davidbr@bastion-candig " | |||
To: | |||
BASTION_CMD="ssh davidbr@bastion.candig.sd4h.ca " # Or @<IP ADDRESS> | |||
The scp-via-bastion script may also be renamed (or aliased) and moved to a directory present in the user's $PATH rather than $HOME. | |||
=== Access types === | === Access types === | ||
The Bastion provides both Group and Personal access methodologies. Which method you use depends on The Bastion configurations. Your connections will work the same no matter which method is used, so from a user perspective, the distinction is moot. | |||
edits