Click to See Complete Forum and Search --> : SSHD


jbstew32
12-07-2001, 07:41 PM
ok i need to fix my /etc/shh/sshd_config i guess b/c well...its gone :rolleyes:

anyway, I just need to connect thru my home network, ips are 192.168.0.2-192.168.0.5

can anyone point me to a site, or copy/paste theirs so i can adapt it...

2thumbs
12-07-2001, 07:49 PM
Mine looks like:

Port 22
Protocol 2,1
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key

KeyRegenerationInterval 3600
ServerKeyBits 768

SyslogFacility AUTH
LogLevel INFO

LoginGraceTime 60
PermitRootLogin no
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
%h/.ssh/authorized_keys

RhostsAuthentication no
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
IgnoreUserKnownHosts yes

PasswordAuthentication yes
PermitEmptyPasswords no

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
KeepAlive yes

Subsystem sftp /usr/lib/ssh/sftp-server

set the hosts you need to connect in /etc/hosts.allow

[ 07 December 2001: Message edited by: 2thumbs ]

[ 07 December 2001: Message edited by: 2thumbs ]

jbstew32
12-08-2001, 02:42 PM
thank you