28
edits
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
For your convenience, it is recommended to create an alias for the Bastion connection:<syntaxhighlight lang="bash"> | For your convenience, it is recommended to create an alias for the Bastion connection:<syntaxhighlight lang="bash"> | ||
alias bssh='ssh -t <YOUR BASTION USERNAME>@bastion.sd4h.ca --' | alias bssh='ssh -t <YOUR BASTION USERNAME>@bastion.sd4h.ca --' | ||
</syntaxhighlight>After adding the alias, you can connect to Bastion!<syntaxhighlight lang="bash"> | </syntaxhighlight>After adding the alias, you can connect to (or through) Bastion! | ||
=== Connection types === | |||
There are three types of connections you can make. | |||
# Interactive mode | |||
# Non-interactive mode | |||
# Directly to a registered server (the bastion acts as a pass-through). | |||
<syntaxhighlight lang="bash"> | |||
# Interactive mode (signs out when idle) | # Interactive mode (signs out when idle) | ||
bssh # SSH into Bastion | bssh # SSH into Bastion |
edits