I want to gather the host keys but ssh-keyscan command is not found on my linux. Anyway to achieve the same with some other commands
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to gather the host keys but ssh-keyscan command is not found on my linux. Anyway to achieve the same with some other commands without adding this command explicitly.
I am running with Wind River Linux 8.0.
ssh ssh-agent ssh-keygen
add a comment |Â
up vote
0
down vote
favorite
I want to gather the host keys but ssh-keyscan command is not found on my linux. Anyway to achieve the same with some other commands without adding this command explicitly.
I am running with Wind River Linux 8.0.
ssh ssh-agent ssh-keygen
windriver Linux, or Wind River Linux?
â EightBitTony
Jan 23 at 9:53
@EightBitTony Wind River Linux
â BRT
Jan 23 at 10:47
You might be able to do something likessh -o StrictHostKeyChecking=no -N $hostname
for each host, and then pull all the keys out of~/.ssh/known_hosts
â Patrick
Jan 23 at 13:26
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to gather the host keys but ssh-keyscan command is not found on my linux. Anyway to achieve the same with some other commands without adding this command explicitly.
I am running with Wind River Linux 8.0.
ssh ssh-agent ssh-keygen
I want to gather the host keys but ssh-keyscan command is not found on my linux. Anyway to achieve the same with some other commands without adding this command explicitly.
I am running with Wind River Linux 8.0.
ssh ssh-agent ssh-keygen
edited Jan 23 at 10:47
asked Jan 23 at 9:19
BRT
184
184
windriver Linux, or Wind River Linux?
â EightBitTony
Jan 23 at 9:53
@EightBitTony Wind River Linux
â BRT
Jan 23 at 10:47
You might be able to do something likessh -o StrictHostKeyChecking=no -N $hostname
for each host, and then pull all the keys out of~/.ssh/known_hosts
â Patrick
Jan 23 at 13:26
add a comment |Â
windriver Linux, or Wind River Linux?
â EightBitTony
Jan 23 at 9:53
@EightBitTony Wind River Linux
â BRT
Jan 23 at 10:47
You might be able to do something likessh -o StrictHostKeyChecking=no -N $hostname
for each host, and then pull all the keys out of~/.ssh/known_hosts
â Patrick
Jan 23 at 13:26
windriver Linux, or Wind River Linux?
â EightBitTony
Jan 23 at 9:53
windriver Linux, or Wind River Linux?
â EightBitTony
Jan 23 at 9:53
@EightBitTony Wind River Linux
â BRT
Jan 23 at 10:47
@EightBitTony Wind River Linux
â BRT
Jan 23 at 10:47
You might be able to do something like
ssh -o StrictHostKeyChecking=no -N $hostname
for each host, and then pull all the keys out of ~/.ssh/known_hosts
â Patrick
Jan 23 at 13:26
You might be able to do something like
ssh -o StrictHostKeyChecking=no -N $hostname
for each host, and then pull all the keys out of ~/.ssh/known_hosts
â Patrick
Jan 23 at 13:26
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You may check before which keys are available via ssh <host> -Q key-plain
. At least you can gather the host key in a visualized way via ssh <host> -o VisualHostKey=yes
. I am not sure if this is reversible.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You may check before which keys are available via ssh <host> -Q key-plain
. At least you can gather the host key in a visualized way via ssh <host> -o VisualHostKey=yes
. I am not sure if this is reversible.
add a comment |Â
up vote
0
down vote
You may check before which keys are available via ssh <host> -Q key-plain
. At least you can gather the host key in a visualized way via ssh <host> -o VisualHostKey=yes
. I am not sure if this is reversible.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You may check before which keys are available via ssh <host> -Q key-plain
. At least you can gather the host key in a visualized way via ssh <host> -o VisualHostKey=yes
. I am not sure if this is reversible.
You may check before which keys are available via ssh <host> -Q key-plain
. At least you can gather the host key in a visualized way via ssh <host> -o VisualHostKey=yes
. I am not sure if this is reversible.
edited Jan 23 at 14:33
answered Jan 23 at 14:22
U880D
401314
401314
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419038%2fi-want-to-gather-the-host-keys-but-ssh-keyscan-command-is-not-found-on-my-linux%23new-answer', 'question_page');
);
Post as a guest
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
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
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
windriver Linux, or Wind River Linux?
â EightBitTony
Jan 23 at 9:53
@EightBitTony Wind River Linux
â BRT
Jan 23 at 10:47
You might be able to do something like
ssh -o StrictHostKeyChecking=no -N $hostname
for each host, and then pull all the keys out of~/.ssh/known_hosts
â Patrick
Jan 23 at 13:26