Dies ist eine alte Version des Dokuments!
Debian:
aptitude install ssh
SuSE:
zypper install openssh
SuSE:
/etc/init.d/sshd start
Bei Debian werden Dienste meist automatisch gestartet
Debian:
dpkg -s ssh dpkg -L ssh | grep doc/ dpkg -L ssh | grep man/ apt-cache search ssh-doc
SuSE:
rpm -ql openssh | grep doc/ rpm -ql openssh | grep man/ rpm -qi openssh
Zum Startskript:
/etc/default/ssh
(Debian)/etc/sysconfig/ssh
(SuSE)Zum Dienst selbst:
/etc/ssh/*
/etc/init.d/ssh restart
Lauscht der Dienst auf dem passenden Port?
netstat -l -n
oder
lsof -i :22
oder
lsof -a -c sshd -i
Ist iptables im Weg:
iptables -L -n -v
Serverseitig:
vi /etc/ssh/sshd_config
X11Forwarding yes
/etc/init.d/ssh restart
Clientseitig:
ssh -X nutzer02@notebook02
who last lsof -i