Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • F feudalSSH
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • feudal
  • feudalSSH
  • Issues
  • #7

Closed
Open
Created Feb 28, 2019 by marcus.hardt@lo0018Owner

Default ssh key

This is really not to super important, but would be nice:

If there is a key pair in ~/.ssh/ pick the first one. The difficult part is that .ssh may look messy... pubkeys collected for other people, config files, old keys, ...

this is mine:

-rw-r--r-- 1 marcus marcus  402 Jan 12  2018 arsen-id_rsa.pub
-rw------- 1 marcus marcus  984 Feb 27 08:54 authorized_keys
drwxr-x--- 2 marcus marcus 4.0K Jan 13  2018 backup/
-rw------- 1 marcus marcus  396 Jan 12  2018 bas-id_rsa.lenovo.pub
-rw-r--r-- 1 marcus marcus  457 Dec 29 22:36 config
-rw-r--r-- 1 marcus marcus  511 Jan 12  2018 config.old.1
-rw-r--r-- 1 marcus marcus  496 Jan 12  2018 config.old.2
-rw------- 1 marcus marcus 1.7K Jan 12  2018 gridka-bench-matthias
-rw-r--r-- 1 marcus marcus  393 Jan 12  2018 gridka-bench-matthias.pub
-rw------- 1 marcus marcus 1.7K Jan 12  2018 hpone
-rw------- 1 marcus marcus  413 Jan 12  2018 hpone.pub
-rw------- 1 marcus marcus  444 Feb 27 08:44 id_ed25519
-rw-r--r-- 1 marcus marcus   97 Feb 27 08:45 id_ed25519.pub
-rw------- 1 marcus marcus 1.8K Jan 12  2018 id_rsa
-rw------- 1 marcus marcus 1.7K Jan 12  2018 id_rsa_backuppc
-rw-r--r-- 1 marcus marcus  745 Jan 12  2018 id_rsa_bdt-daniel.pub
-rw------- 1 marcus marcus  414 Jan 12  2018 id_rsa_bernd_schuller.pub
-rw------- 1 marcus marcus 1.8K Jan 12  2018 id_rsa_phon2.pub
-rw-r--r-- 1 marcus marcus  393 Jan 12  2018 id_rsa_phon2.pub.pub
-rw-r--r-- 1 marcus marcus  397 Jan 12  2018 id_rsa.pub
-rw------- 1 marcus marcus 749K Feb 28 12:22 known_hosts
-rw------- 1 marcus marcus 748K Feb  1 14:56 known_hosts.old
-rw------- 1 marcus marcus   96 Feb 18 11:19 lukas_ssh.pub
-rw------- 1 marcus marcus  736 Jan 12  2018 old-id_dsa
-rw-r----- 1 marcus marcus  609 Jan 12  2018 old-id_dsa.pub
-rw-r--r-- 1 marcus marcus  425 Jan 12  2018 patrick-fuhrmann-id_rsa.pub
lrwxrwxrwx 1 marcus marcus   42 Feb 18 12:37 rc -> /home/marcus/mhprofiles/configfiles/ssh-rc
lrwxrwxrwx 1 marcus marcus   30 Feb 18 12:37 ssh_auth_sock -> /tmp/ssh-Ps57qURZEJ/agent.8493
-rw------- 1 marcus marcus   92 Jan 12  2018 uros_id_ed25519.pub
-rw------- 1 marcus marcus  736 Jan 12  2018 uros_id_rsa.pub

Probably a save bet would be to walk through a list, and stop once you find a pair: id_ed25519 id_ecdsa id_dsa id_rsa

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

Imprint