ssh probleem met Oracle 7.9

Pagina: 1
Acties:

Vraag


Acties:
  • 0 Henk 'm!

  • EXX
  • Registratie: Juni 2001
  • Laatst online: 15-09 15:30

EXX

EXtended eXchange

Topicstarter
Ik heb een probleem met inloggen via ssh op een Linux machine die draait op Oracle linux 7.9

Eerst even wat achtergrond informatie. Ik ben wat aan het prutsen met de VMs op mijn QNAP NAS, gebruik makende van Virtualization Station. Ik heb 2 VMs aangemaakt: 1 draait Debian 10 "Buster", en de andere Oracle 7.9 (RHEL compatible kernel). Beide installaties zijn zonder GUI.

Ik kan met PuTTY zonder problemen inloggen op de Debian VM. Ook ssh vanuit de Powershell gaat prima.

Bij de Oracle VM is er echter een probleem. Ik connect met PuTTY (default settings, net als bij de Debian VM), en ik krijg de inlog prompt die vraagt voor de username. Die vul ik dan in en dan komt er niks terug. Het heeft echter met de terminal output te maken. Ik verander de settings in PuTTY betreffende local echo en line edit van 'auto' naar 'on', apply en daarna weer terug naar 'auto' en met wat enter drukken werkt ineens alles naar behoren. Doe ik een ssh vanuit Powershell gebeurt er helemaal niets.

Vreemd genoeg als ik een ssh doe vanuit de Debian VM naar de Oracle VM werkt het wel naar behoren.

Hoe is dit verschil in gedrag tussen Debian en Oracle te verklaren?

edit:
tty settings Debian:

speed 38400 baud; rows 24; columns 141; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc

tty settings Oracle:

speed 38400 baud; rows 51; columns 152; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

Hier ontbreekt : -flusho -extproc

Edit2:

Het lijkt erop dat het helemaal niks met de terminal settings te maken heeft. nadat de username is ingevuld, duurt het gewoon heel erg lang voordat de prompt voor het password verschijnt, zowel bij gebruik van PuTTY als Powershell.

[ Voor 44% gewijzigd door EXX op 08-02-2021 13:22 ]

For it is the doom of men that they forget...           Huidige en vroegere hardware specs         The Z80 is still alive!

Beste antwoord (via Cyphax op 08-02-2021 13:39)


  • EXX
  • Registratie: Juni 2001
  • Laatst online: 15-09 15:30

EXX

EXtended eXchange

Topicstarter
Probleem gevonden!

Oorzaak was reverse DNS. In /etc/ssh/sshd_conf de regel 'UseDNS no' toegevoegd en opgelost.

Topic kan dicht.

For it is the doom of men that they forget...           Huidige en vroegere hardware specs         The Z80 is still alive!

Alle reacties


Acties:
  • Beste antwoord
  • 0 Henk 'm!

  • EXX
  • Registratie: Juni 2001
  • Laatst online: 15-09 15:30

EXX

EXtended eXchange

Topicstarter
Probleem gevonden!

Oorzaak was reverse DNS. In /etc/ssh/sshd_conf de regel 'UseDNS no' toegevoegd en opgelost.

Topic kan dicht.

For it is the doom of men that they forget...           Huidige en vroegere hardware specs         The Z80 is still alive!


Acties:
  • 0 Henk 'm!

  • Cyphax
  • Registratie: November 2000
  • Nu online

Cyphax

Moderator LNX
Ik heb je antwoord gemarkeerd als beste antwoord voor de volledigheid. :)

Saved by the buoyancy of citrus


Acties:
  • 0 Henk 'm!

  • EXX
  • Registratie: Juni 2001
  • Laatst online: 15-09 15:30

EXX

EXtended eXchange

Topicstarter
Top! :)

For it is the doom of men that they forget...           Huidige en vroegere hardware specs         The Z80 is still alive!