Toon posts:

telnet openssh 3.4

Pagina: 1
Acties:

Verwijderd

Topicstarter
Na veel gepuzzel en ergenis kan ik nog steeds niet ssh en ftp gebruiken op mijn linuxbak met mandrake 8.2???

met telnet gaat het wel via 127.0.0.1, maar ssh localhost dat snapt ie niet mijn poorten staan open er is niet bijzonders in host allow en deny dus ik geef het op.

is er iemand die mijn kan helpen of ook zo probleem heeft

alvast bedankt

  • supakeen
  • Registratie: December 2000
  • Laatst online: 09-09-2025
Is je sshd wel opgestart :?

  • Major Asshole
  • Registratie: Mei 2000
  • Laatst online: 24-06-2024

Major Asshole

Are there any more Asholes?

probeer eens "ssh -v 0" dan krijg je ook wat debug informatie te zien. Misschien staat er een foutmelding tussen.

  • Liegebeest
  • Registratie: Februari 2002
  • Laatst online: 07:56
Om te beginnen:
code:
1
ps -ef | grep sshd

Oftwel: draait de SSH daemon. Zo niet: starten dus -> /usr/sbin/sshd & (als root)
code:
1
netstat -an | grep <ssh poortnummer>

Staat SSH wel te luisteren op het poortnummer wat je verwacht?
code:
1
ssh -v localhost

Uitgebreide output en diagnose van de SSH sessie naar je machine.

Tevens: gebruik je IPchains, IPtables of een ander soort firewall software? Daar kan het vanzelfsprekend ook aan liggen.

Liege, liege, liegebeest!


Verwijderd

Topicstarter
ssh is opgestart zie

[root@master root]# ps -ef | grep sshd
root 1386 1 0 19:35 ? 00:00:00 /usr/sbin/sshd
root 3096 2748 0 20:24 pts/1 00:00:00 grep sshd

en hier mijn log is er iets dat niet klopt?????? voor mijn is het kaas.

[root@master root]# ssh -v localhost
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 134/256
debug1: bits set: 1576/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'localhost' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug1: bits set: 1661/3191
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
Connection closed by 127.0.0.1
debug1: Calling cleanup 0x8066ed0(0x0)

  • hbokh
  • Registratie: Februari 2002
  • Laatst online: 07-08 10:02

hbokh

Unox: the worst OS!

Op vrijdag 12 juli 2002 20:28 schreef TheTux het volgende:

debug1: Found key in /root/.ssh/known_hosts:2
Aha, dus als root wil je ssh-en.
't Is maar een wilde suggestie, maareh...
staat er soms dit

PermitRootLogin No

in je /etc/ssh/sshd_config?
Of op "Yes" zetten, of als andere user ssh-en.

This is my sick nature.

Pagina: 1