The local computer connecting to ssh host is returning an error?ssh-keygen utilityIntermittent...
Why isn't aluminium involved in biological processes?
In special relativity is mass just a measure of all other energy than kinetic?
Is this more than a packing puzzle?
Is dividends exclusively a part of earnings?
Remove cardinal direction letters
If a player tries to persuade somebody, what should that creature roll not to be persuaded?
Can I send medicine to an American visitor in Canada?
Why aren't globular clusters disk shaped
Why do candidates not quit if they no longer have a realistic chance to win in the 2020 US presidents election
Why does FFmpeg choose 10+20+20 ms instead of an even 16 ms for 60 fps GIF images?
Why use null function instead of == [] to check for empty list in Haskell?
What impact would a dragon the size of Asia have on the environment?
Why don't commercial aircraft adopt a slightly more seaplane-like design to allow safer ditching in case of emergency?
I do not have power to all my breakers
I won USD 50K! Now what should I do with it?
Short story, maybe by Budrys: unpleasant man makes himself conspicuous to attract aliens
Why did Steve Rogers choose Sam in Endgame?
Is there a good program to play chess online in ubuntu?
What do these three diagonal lines that cross through three measures and both staves mean, and what are they called?
Why does the Trade Federation become so alarmed upon learning the ambassadors are Jedi Knights?
What do mathematicians mean when they say some conjecture can’t be proven using the current technology?
Can a pizza stone be fixed after soap has been used to clean it?
What systems of robust steganography are out there?
Print all lines that don't have numbers, using sed
The local computer connecting to ssh host is returning an error?
ssh-keygen utilityIntermittent 'ssh_exchange_identification: Connection closed by remote host' errorWork around two-factor SSH auth with Master connection and port forwarding?Open file from remote computer on host computerSSH pageant not workingSSH Remote Execution - checking server can do it?Cannot setup password less ssh on local hostConnecting from local computer to server - sshSSH Configuration Help / Can't tunnelssh not able to read ~/.ssh/id_rsapasswordless ssh to localhost in Ubuntu 16.04
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying to figure out how to overcome this error:
I read some similar posts but nothing I could find was straightforward, I was hoping to get some advice on what I can do
macminngh:MDATA sondosayyash$ ssh -Y -v s1@goblin.sharcnet.ca
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to goblin.sharcnet.ca [199.241.162.29] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: Connection closed by remote host
ssh remote openssh
add a comment |
I'm trying to figure out how to overcome this error:
I read some similar posts but nothing I could find was straightforward, I was hoping to get some advice on what I can do
macminngh:MDATA sondosayyash$ ssh -Y -v s1@goblin.sharcnet.ca
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to goblin.sharcnet.ca [199.241.162.29] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: Connection closed by remote host
ssh remote openssh
add a comment |
I'm trying to figure out how to overcome this error:
I read some similar posts but nothing I could find was straightforward, I was hoping to get some advice on what I can do
macminngh:MDATA sondosayyash$ ssh -Y -v s1@goblin.sharcnet.ca
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to goblin.sharcnet.ca [199.241.162.29] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: Connection closed by remote host
ssh remote openssh
I'm trying to figure out how to overcome this error:
I read some similar posts but nothing I could find was straightforward, I was hoping to get some advice on what I can do
macminngh:MDATA sondosayyash$ ssh -Y -v s1@goblin.sharcnet.ca
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to goblin.sharcnet.ca [199.241.162.29] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: Connection closed by remote host
ssh remote openssh
ssh remote openssh
edited 1 hour ago
hsayya
asked 3 hours ago
hsayyahsayya
113 bronze badges
113 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
That isn't an error on the remote host, that is an issue on the client side.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
The first line is key; it cannot find the file, /Users/sondosayyash/.ssh/id_rsa.
There is no such directory called /Users/ by default at least, on a Unix-like machine. Typically, this would be /home/sondosayyash/.ssh/id_rsa.
You can verify this, by navigating to your .ssh directory in your home directory.
# Navigate to /home/user/.ssh
cd ~/.ssh
# Validate the absolute path of your .ssh directory
pwd
# Display the contents of the directory
ls
If there is no id_rsa key file in this directory, then you will need to create a key pair. There is already an answer for creating a key pair on this site:
- https://unix.stackexchange.com/a/99330/247886
1
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.
– Kenster
3 hours ago
So should I do the following:ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?
– hsayya
3 hours ago
No, there is no/Users.
– Lucas Ramage
2 hours ago
@LucasRamage I triedssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa]and it still didn't resolve the issue
– hsayya
2 hours ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
|
show 1 more comment
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f530337%2fthe-local-computer-connecting-to-ssh-host-is-returning-an-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
That isn't an error on the remote host, that is an issue on the client side.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
The first line is key; it cannot find the file, /Users/sondosayyash/.ssh/id_rsa.
There is no such directory called /Users/ by default at least, on a Unix-like machine. Typically, this would be /home/sondosayyash/.ssh/id_rsa.
You can verify this, by navigating to your .ssh directory in your home directory.
# Navigate to /home/user/.ssh
cd ~/.ssh
# Validate the absolute path of your .ssh directory
pwd
# Display the contents of the directory
ls
If there is no id_rsa key file in this directory, then you will need to create a key pair. There is already an answer for creating a key pair on this site:
- https://unix.stackexchange.com/a/99330/247886
1
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.
– Kenster
3 hours ago
So should I do the following:ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?
– hsayya
3 hours ago
No, there is no/Users.
– Lucas Ramage
2 hours ago
@LucasRamage I triedssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa]and it still didn't resolve the issue
– hsayya
2 hours ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
|
show 1 more comment
That isn't an error on the remote host, that is an issue on the client side.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
The first line is key; it cannot find the file, /Users/sondosayyash/.ssh/id_rsa.
There is no such directory called /Users/ by default at least, on a Unix-like machine. Typically, this would be /home/sondosayyash/.ssh/id_rsa.
You can verify this, by navigating to your .ssh directory in your home directory.
# Navigate to /home/user/.ssh
cd ~/.ssh
# Validate the absolute path of your .ssh directory
pwd
# Display the contents of the directory
ls
If there is no id_rsa key file in this directory, then you will need to create a key pair. There is already an answer for creating a key pair on this site:
- https://unix.stackexchange.com/a/99330/247886
1
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.
– Kenster
3 hours ago
So should I do the following:ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?
– hsayya
3 hours ago
No, there is no/Users.
– Lucas Ramage
2 hours ago
@LucasRamage I triedssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa]and it still didn't resolve the issue
– hsayya
2 hours ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
|
show 1 more comment
That isn't an error on the remote host, that is an issue on the client side.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
The first line is key; it cannot find the file, /Users/sondosayyash/.ssh/id_rsa.
There is no such directory called /Users/ by default at least, on a Unix-like machine. Typically, this would be /home/sondosayyash/.ssh/id_rsa.
You can verify this, by navigating to your .ssh directory in your home directory.
# Navigate to /home/user/.ssh
cd ~/.ssh
# Validate the absolute path of your .ssh directory
pwd
# Display the contents of the directory
ls
If there is no id_rsa key file in this directory, then you will need to create a key pair. There is already an answer for creating a key pair on this site:
- https://unix.stackexchange.com/a/99330/247886
That isn't an error on the remote host, that is an issue on the client side.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1
The first line is key; it cannot find the file, /Users/sondosayyash/.ssh/id_rsa.
There is no such directory called /Users/ by default at least, on a Unix-like machine. Typically, this would be /home/sondosayyash/.ssh/id_rsa.
You can verify this, by navigating to your .ssh directory in your home directory.
# Navigate to /home/user/.ssh
cd ~/.ssh
# Validate the absolute path of your .ssh directory
pwd
# Display the contents of the directory
ls
If there is no id_rsa key file in this directory, then you will need to create a key pair. There is already an answer for creating a key pair on this site:
- https://unix.stackexchange.com/a/99330/247886
edited 2 hours ago
answered 3 hours ago
Lucas RamageLucas Ramage
5552 silver badges12 bronze badges
5552 silver badges12 bronze badges
1
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.
– Kenster
3 hours ago
So should I do the following:ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?
– hsayya
3 hours ago
No, there is no/Users.
– Lucas Ramage
2 hours ago
@LucasRamage I triedssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa]and it still didn't resolve the issue
– hsayya
2 hours ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
|
show 1 more comment
1
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.
– Kenster
3 hours ago
So should I do the following:ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?
– hsayya
3 hours ago
No, there is no/Users.
– Lucas Ramage
2 hours ago
@LucasRamage I triedssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa]and it still didn't resolve the issue
– hsayya
2 hours ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
1
1
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1 this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.– Kenster
3 hours ago
debug1: identity file /Users/sondosayyash/.ssh/id_rsa type -1 this is only an error if there's supposed to be a key file. It's perfectly possible to use ssh without a key.– Kenster
3 hours ago
So should I do the following:
ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?– hsayya
3 hours ago
So should I do the following:
ssh-keygen -R /Users/sondosayyash/.ssh [-f id_rsa]?– hsayya
3 hours ago
No, there is no
/Users.– Lucas Ramage
2 hours ago
No, there is no
/Users.– Lucas Ramage
2 hours ago
@LucasRamage I tried
ssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa] and it still didn't resolve the issue– hsayya
2 hours ago
@LucasRamage I tried
ssh-keygen -R /home/sondosayyash/.ssh [-f id_rsa] and it still didn't resolve the issue– hsayya
2 hours ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
@Kenster so it's clear that there is supposed to be a keyfile since its an error.
– hsayya
1 hour ago
|
show 1 more comment
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f530337%2fthe-local-computer-connecting-to-ssh-host-is-returning-an-error%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