Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh from login/pawword to passphrase only issue |solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3641

PostPosted: Fri Jan 05, 2024 6:22 pm    Post subject: ssh from login/pawword to passphrase only issue |solved] Reply with quote

Did from ssh-keygen for user1 to authorized_keys@server fine enough.

However sshd has 2 issues here (intricated?):
Code:
ssh user2@ip_adress
remains asking for user2 pwd (as in login/pwd).

Only running
Code:
ssh -i ~/.ssh/not-id_ed25519 user2@ip_adress
will ask for passphase as expected.

I fail to inhibit the login/pwd scheme as well as forcing the passphrase without -i command line option.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Fri Jan 05, 2024 9:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3641

PostPosted: Fri Jan 05, 2024 7:55 pm    Post subject: Reply with quote

renaming not-id_ed25519 to standard id_ed25599 fixed the -i requirement issue.

However, failing at passphrase will end up with prompt for password (as in login/pwd).

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3641

PostPosted: Fri Jan 05, 2024 9:23 pm    Post subject: Reply with quote

Code:
KbdInteractiveAuthentication no #yes
was the key to no login/password along with
Code:
#PasswordAuthentication yes
and
Code:
PubkeyAuthentication yes #

Thks 4 ur attention, interest & support
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum