Toon posts:

[debian] - SSH 2 raar??

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb net via apt-get install ssh2 ssh2 geinstalleerd. Perfect allemaal, maar hij maakt helemaal geen sshd2_config bestand aan... Maar ik kan wel inloggen via putty op de server... Zo'n sshd2_config bestand heb je toch nodig??

:7

Verwijderd

code:
1
2
3
-f configuration_file
        Specifies the name  of  the  configuration  file.   The
        default is /etc/ssh2/sshd2_config

Mischien heet ie gewoon anders :D

Verwijderd

Topicstarter
Nee, het bestand bestaat gewoon niet... Maar ik heb op internet wel een bestand gevonden, maar als ik die in de directory pleur en wijzig naar mijn instellingen, dan kan ik niet meer inloggen vanaf mijn win2000 bak op de server... Zelfs niet met een gewone user...


Maar is die sshd2_config echt heel belangrijk??

Verwijderd

Ja want daarmee kun je SSH1 support uitzetten. Is een security issue mee. Kan je wel een voorbeeld posten hier maar die is dus voor Slackware.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#   $OpenBSD: sshd_config,v 1.38 2001/04/15 21:41:29 deraadt Exp $

# This sshd was compiled with PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin

# This is the sshd server system-wide configuration file.  See sshd(8)
# for more information.

Port 22
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
#
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
#PrintLastLog no
KeepAlive yes

# Logging
SyslogFacility AUTH
LogLevel INFO
#obsoletes QuietMode and FascistLogging

RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
#
RSAAuthentication yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
#ChallengeResponseAuthentication no

# Uncomment to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

#CheckMail yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net
#ReverseMappingCheck yes

Subsystem   sftp    /usr/libexec/sftp-server

Verwijderd

heb jij ook de sshd server geinstalleerd of alleen de client soms?

Verwijderd

ssh is client, sshd is server. Beide dus.

  • Creepy
  • Registratie: Juni 2001
  • Laatst online: 18-08 21:00

Creepy

Tactical Espionage Splatterer

kijk eens in /etc/ssh/ en ziedaar.. een sshd_config

ssh2 is gewoon openssh.

"I had a problem, I solved it with regular expressions. Now I have two problems". That's shows a lack of appreciation for regular expressions: "I know have _star_ problems" --Kevlin Henney

Pagina: 1