forked from Controls/gitea-pages
add windows info
This commit is contained in:
@@ -41,4 +41,42 @@ Alternatively you can search for "Gateway" in the search field.
|
||||
Afterwards specify the user and the Gateway you request access for:
|
||||

|
||||
|
||||
Once the request is submitted the responsible person for the Gateway Access List will be informed and requested for approval. Once the Approval is given the user will be automatically added to the necessary AD group.
|
||||
Once the request is submitted the responsible person for the Gateway Access List will be informed and requested for approval. Once the Approval is given the user will be automatically added to the necessary AD group.
|
||||
|
||||
## Using SSH Gateways with Windows
|
||||
|
||||
1. Open Command Prompt
|
||||
Run CMD: Press Windows Key + R, type cmd, and press Enter.
|
||||
|
||||
Alternatively, search for "Command Prompt" (“Eingabeaufforderung” in German) in the search bar and select it.
|
||||
|
||||
|
||||
2. Connecting to a Gateway
|
||||
```powershell
|
||||
ssh <username>@<gateway-name>-gw
|
||||
```
|
||||
|
||||
3. Establish an SSH connection through the gateway to a machine inside the protected network
|
||||
```powershell
|
||||
ssh -J <username>@<gateway-name>-gw <username>@<name-of-the-machine-you-want-to-connect>
|
||||
```
|
||||
|
||||
### Optional: Save the Connection in a Batch File
|
||||
|
||||
Saving the Connection in a Batch Script let’s you re-use the command. This way you won’t have to retype it every time you use the same connection again.
|
||||
|
||||
Open Notepad:
|
||||
- Press Windows Key + R, type `notepad`, and press `Enter`.
|
||||
- Type the SSH command, for example:
|
||||
```
|
||||
ssh -J <username>@<gateway-name>-gw <username>@<name-of-the-machine-you-want-to-connect>
|
||||
```
|
||||
- Save the File as a Batch File: Click on File > Save As.
|
||||
- Set the file name, e.g., connect-to-gateway.bat.
|
||||
- Choose "Save as type": Select All Files.
|
||||
- Ensure the file extension is .bat (e.g., connect-to-gateway.bat).
|
||||
- Save the file in a convenient location, such as your Desktop.
|
||||
|
||||
|
||||
Run the Batch File:
|
||||
- Double-click the .bat file to execute the SSH command.
|
||||
Reference in New Issue
Block a user