LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-25-2018, 02:01 AM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Rep: Reputation: Disabled
Enabling SSH login to all my Github repositories


I have 33 repositories on Github. Recently I made a ssh key and uploaded the public key to Github.
So far so good.
I found out that I had to give the git command:
Quote:
git remote set-url origin git@github.com:username/your-repository.git to enable logging in to a particular repository.
But isn't there an easier way than this command?
Is it possible to configure .ssh/config/ in such a way that I can login to all Github repo's without having to type that line for all repositories individually?
Or a script that would make that possible?
 
Old 06-25-2018, 03:55 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
http://dt.iki.fi/migrating-git-repos
should also work the other way round.
 
1 members found this post helpful.
  


Reply

Tags
ssh login



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Back Up GitHub and GitLab Repositories Using Golang LXer Syndicated Linux News 0 06-05-2018 07:24 AM
LXer: Learn to use GitHub with GitHub Learning Lab LXer Syndicated Linux News 0 04-20-2018 01:12 AM
[SOLVED] Fast login via ssh / Slow login via login manager with machine in AD-domain c01d Linux - Server 2 03-01-2016 01:52 AM
LXer: Gitrob Combs Github Repositories for Secret Company Data LXer Syndicated Linux News 0 01-17-2015 01:43 AM
Enabling SSH LinuxHaven Linux - Software 1 08-10-2002 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration