Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

PubkeyAuthentication no

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
1veedo
Apprentice
Apprentice
Posts: 152
Joined: Mon Dec 19, 2005 12:16 am

PubkeyAuthentication no

  • Quote

Post by 1veedo » Thu Nov 18, 2010 7:20 pm

I'm trying to set up sshd so you have to already have the public key in order to log in, ie the server wont send it to you even if you ask. I found this setting PubkeyAuthentication but it still sends the public key even if you set it to no. How exactly do you turn that off?
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Nov 19, 2010 3:30 am

I think you are very confused. First, why do you care if the server sends you its public key? This is the only way you can be sure you have connected to the correct sshd. Second, the setting you found controls whether clients are permitted to use public key authentication to log in. It has no effect on the pre-login handshake.
Top
1veedo
Apprentice
Apprentice
Posts: 152
Joined: Mon Dec 19, 2005 12:16 am

  • Quote

Post by 1veedo » Sun Nov 21, 2010 12:38 am

I guess I'll just do it by IP then... I'm pretty sure you can do it that way.
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Nov 21, 2010 1:45 am

You can restrict logins to specific source addresses, but there is no way to prevent the sshd from sending its key to any client which connects. This behavior is a necessary part of the protocol. Disabling it would not provide any security.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic