Project

General

Profile

Actions

Idea #6617

closed

[Workbench] [Documentation] Display https url in repositories panel in manage_account page. Update documentation as needed.

Added by Radhika Chippada almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
Start date:
07/17/2015
Due date:
Story points:
1.0

Description

Background: When logged in to a shell node via SSH, you can access git repositories via SSH (like ) by using agent forwarding. However, if you log in to a shell node via webshell, your options are:
  • Create/store a private key on the shell node. This is a bad practice.
  • Don't use SSH to authenticate to git repos when logged in via webshell.

The infrastructure is in place (pending #6619) to authenticate via https using the arvados API token that is automatically added to your environment at login time. Of course, this only helps when you clone/push https://git.zzzzz.arvadosapi.com/foo/bar.git -- but doc.arvados.org and Workbench's "Manage Account" page only suggest using the url git@git.zzzzz.arvadosapi.com:foo/bar.git.

Both docs and Workbench must be updated to present both options and provide guidance about when to use each.
  • Clone with HTTPS if your ARVADOS_API_TOKEN env var is set (e.g., you're logged in to an Arvados shell VM). This is the best option for shell VMs even if you're logged in with SSH: it means "push" will work next time you log in, even if you log in with Webshell.
  • Clone with SSH if you've added your SSH key to Arvados and it's available in your login session (e.g., you're cloning to your workstation).

Files

screenshot.png (22.1 KB) screenshot.png Manoj Malipeddu, 07/17/2015 04:49 PM

Subtasks 4 (0 open4 closed)

Task #6670: Review branch: 6617-doc-repo-https-urlResolvedRadhika Chippada07/20/2015Actions
Task #6660: Display https url in repositories panel in manage_account pageResolvedManoj Malipeddu07/17/2015Actions
Task #6662: Document https url in repositoriesResolvedRadhika Chippada07/17/2015Actions
Task #6665: Review Branch 6617-display-https-urlResolvedManoj Malipeddu07/17/2015Actions

Related issues

Blocked by Arvados - Feature #6619: [Deployment] [Documentation] Install system-wide git credential helper for arvados-hosted https git-urlsResolvedNico César07/20/2015Actions
Actions

Also available in: Atom PDF