gogs clone via ssh on server The Next CEO of Stack OverflowHow to clone all remote branches in Git?How do you clone a Git repository into a specific folder?How to clone a specific Git branch?How to “git clone” including submodules?How can I determine the URL that a local Git repository was originally cloned from?How do I properly force a Git push?Git On Custom SSH Portgit clone through sshssh “permissions are too open” errorconfigure gogs server with ssh
How to avoid supervisors with prejudiced views?
Is it possible to search for a directory/file combination?
Bold, vivid family
Is it professional to write unrelated content in an almost-empty email?
How to count occurrences of text in a file?
Interfacing a button to MCU (and PC) with 50m long cable
How did people program for Consoles with multiple CPUs?
If a black hole is created from light, can this black hole then move at speed of light?
Do I need to enable Dev Hub in my PROD Org?
Is there an analogue of projective spaces for proper schemes?
sp_blitzCache results Memory grants
Are there any limitations on attacking while grappling?
Sending manuscript to multiple publishers
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
Written every which way
Is there a difference between "Fahrstuhl" and "Aufzug"
Contours of a clandestine nature
Between two walls
multiple labels for a single equation
Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?
What's the best way to handle refactoring a big file?
Complex fractions
What flight has the highest ratio of time difference to flight time?
gogs clone via ssh on server
The Next CEO of Stack OverflowHow to clone all remote branches in Git?How do you clone a Git repository into a specific folder?How to clone a specific Git branch?How to “git clone” including submodules?How can I determine the URL that a local Git repository was originally cloned from?How do I properly force a Git push?Git On Custom SSH Portgit clone through sshssh “permissions are too open” errorconfigure gogs server with ssh
I'm trying to clone an existing gogs repo to my debain server, but i'm new to debain server.
My problem: the command
git clone ssh://git@hostaddress/username/reponame.git
has the following error message:
Cloning into reponame...
ssh: connect to host hostadress port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I installed git, generated rsa keypair, added the public key to my repo and put the private to my .ssh/ folder.
On my Server i don't have a ~/.ssh/config file and command git config --local -e gives following error fatal: Could not switch to '.git/': No such file or directory
I've allready tried to use a different port (443) but had same issue.
I've no clue what should be edited in the ~/.ssh/config file or if its even necessary to do so.
git ssh gogs
add a comment |
I'm trying to clone an existing gogs repo to my debain server, but i'm new to debain server.
My problem: the command
git clone ssh://git@hostaddress/username/reponame.git
has the following error message:
Cloning into reponame...
ssh: connect to host hostadress port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I installed git, generated rsa keypair, added the public key to my repo and put the private to my .ssh/ folder.
On my Server i don't have a ~/.ssh/config file and command git config --local -e gives following error fatal: Could not switch to '.git/': No such file or directory
I've allready tried to use a different port (443) but had same issue.
I've no clue what should be edited in the ~/.ssh/config file or if its even necessary to do so.
git ssh gogs
The git client can not reach the server. This is a network problem on or between your Debian machine and the remote machine.
– sborsky
Mar 7 at 15:22
1
sudo traceroute -T -p 22 hostaddressmay give you a clue on where to look.
– sborsky
Mar 7 at 15:27
Youre right... shouldve thought about that. Thank you @sborsky!
– nb13
Mar 7 at 15:32
My server has no connection to the network. Thats the problem
– nb13
Mar 7 at 15:33
add a comment |
I'm trying to clone an existing gogs repo to my debain server, but i'm new to debain server.
My problem: the command
git clone ssh://git@hostaddress/username/reponame.git
has the following error message:
Cloning into reponame...
ssh: connect to host hostadress port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I installed git, generated rsa keypair, added the public key to my repo and put the private to my .ssh/ folder.
On my Server i don't have a ~/.ssh/config file and command git config --local -e gives following error fatal: Could not switch to '.git/': No such file or directory
I've allready tried to use a different port (443) but had same issue.
I've no clue what should be edited in the ~/.ssh/config file or if its even necessary to do so.
git ssh gogs
I'm trying to clone an existing gogs repo to my debain server, but i'm new to debain server.
My problem: the command
git clone ssh://git@hostaddress/username/reponame.git
has the following error message:
Cloning into reponame...
ssh: connect to host hostadress port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I installed git, generated rsa keypair, added the public key to my repo and put the private to my .ssh/ folder.
On my Server i don't have a ~/.ssh/config file and command git config --local -e gives following error fatal: Could not switch to '.git/': No such file or directory
I've allready tried to use a different port (443) but had same issue.
I've no clue what should be edited in the ~/.ssh/config file or if its even necessary to do so.
git ssh gogs
git ssh gogs
asked Mar 7 at 15:16
nb13nb13
11
11
The git client can not reach the server. This is a network problem on or between your Debian machine and the remote machine.
– sborsky
Mar 7 at 15:22
1
sudo traceroute -T -p 22 hostaddressmay give you a clue on where to look.
– sborsky
Mar 7 at 15:27
Youre right... shouldve thought about that. Thank you @sborsky!
– nb13
Mar 7 at 15:32
My server has no connection to the network. Thats the problem
– nb13
Mar 7 at 15:33
add a comment |
The git client can not reach the server. This is a network problem on or between your Debian machine and the remote machine.
– sborsky
Mar 7 at 15:22
1
sudo traceroute -T -p 22 hostaddressmay give you a clue on where to look.
– sborsky
Mar 7 at 15:27
Youre right... shouldve thought about that. Thank you @sborsky!
– nb13
Mar 7 at 15:32
My server has no connection to the network. Thats the problem
– nb13
Mar 7 at 15:33
The git client can not reach the server. This is a network problem on or between your Debian machine and the remote machine.
– sborsky
Mar 7 at 15:22
The git client can not reach the server. This is a network problem on or between your Debian machine and the remote machine.
– sborsky
Mar 7 at 15:22
1
1
sudo traceroute -T -p 22 hostaddress may give you a clue on where to look.– sborsky
Mar 7 at 15:27
sudo traceroute -T -p 22 hostaddress may give you a clue on where to look.– sborsky
Mar 7 at 15:27
Youre right... shouldve thought about that. Thank you @sborsky!
– nb13
Mar 7 at 15:32
Youre right... shouldve thought about that. Thank you @sborsky!
– nb13
Mar 7 at 15:32
My server has no connection to the network. Thats the problem
– nb13
Mar 7 at 15:33
My server has no connection to the network. Thats the problem
– nb13
Mar 7 at 15:33
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047143%2fgogs-clone-via-ssh-on-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047143%2fgogs-clone-via-ssh-on-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The git client can not reach the server. This is a network problem on or between your Debian machine and the remote machine.
– sborsky
Mar 7 at 15:22
1
sudo traceroute -T -p 22 hostaddressmay give you a clue on where to look.– sborsky
Mar 7 at 15:27
Youre right... shouldve thought about that. Thank you @sborsky!
– nb13
Mar 7 at 15:32
My server has no connection to the network. Thats the problem
– nb13
Mar 7 at 15:33