Difference between revisions of "OpenSSH"

Jump to navigation Jump to search
23 bytes added ,  11:59, 28 April 2023
m
Move link for neatness
(Added Cisco Switch options and link)
m (Move link for neatness)
Line 1: Line 1:
I'll expand this to something more comprehensive later but mainly wanted to record something odd that happened to me using [[Gentoo]].
I'll expand this to something more comprehensive later but mainly wanted to record something odd that happened to me using [[Gentoo]].
== When PasswordAuthetication=no is ignored ==
== When PasswordAuthetication=no is ignored ==
Set KeyboardInteractive to no
Set KeyboardInteractive to no in /etc/ssh/sshd_config
  <nowiki>
  <nowiki>
PasswordAuthentication no
PasswordAuthentication no
KbdInteractiveAuthentication no
KbdInteractiveAuthentication no</nowiki>
</nowiki>
== Cisco switch options ==
== [[Cisco Switches|Cisco Switch]] options ==
Set these options in $HOME/.ssh/config to be able to ssh onto [[Cisco Switches|Cisco switches]]. Shown where "switch" is the DNS hostname for the switch in question. If you aren't using DNS use an IP address here.
Set these options in $HOME/.ssh/config to be able to ssh onto Cisco switches. Shown where "switch" is the DNS hostname for the switch in question. If you aren't using DNS use an IP address here.
  <nowiki>
  <nowiki>
Host switch
Host switch

Navigation menu