Using Git on the VM
The SSH Key Setup in your user profile enables full Git access on the VM. Clone, push, pull, commit, and all other Git operations work directly from your session — with commits attributed to your actual Git user. vHaaS generates an SSH key per session, registers it with your GitLab or GitHub account, and removes it when the session ends.
Add a SSH Key
Prerequisite
- A Personal Access Token with permissions to setup public keys in the user profile.
Info
In case of GitLab this corresponds to setting the api scope for the access token. For GitHub, a personal access token with admin:public_key scope is required.
Steps
1. Open the SSH Key Setup View
- Click the profile page in the right corner of the navigation bar and open the SSH Key Setup view.
2. Create a SSH Key
- Click the Add Button in the upper right corner of the SSH Key Table. Fill out the Form and confirm by clicking Add.