Kod: Zaznacz cały
/etc/modules
Kod: Zaznacz cały
modprobe
Ps. Teraz żeby wystartować ssh musiałem wpisywać:
Kod: Zaznacz cały
/etc/init.d/ssh start
Kod: Zaznacz cały
/etc/modules
Kod: Zaznacz cały
modprobe
Kod: Zaznacz cały
/etc/init.d/ssh start
Kod: Zaznacz cały
dpkg-reconfigure apache2
Kod: Zaznacz cały
ps -ef
Kod: Zaznacz cały
rcconf
Kod: Zaznacz cały
dpkg-reconfigure ssh
Kod: Zaznacz cały
ps -ef
Kod: Zaznacz cały
debian:/home/wojtas# dpkg-reconfigure ssh
debian:/home/wojtas# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 18:13 ? 00:00:03 init [S]
root 2 0 0 18:13 ? 00:00:00 [kthreadd]
root 3 2 0 18:13 ? 00:00:00 [migration/0]
root 4 2 0 18:13 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 18:13 ? 00:00:00 [watchdog/0]
root 6 2 0 18:13 ? 00:00:00 [events/0]
root 7 2 0 18:13 ? 00:00:00 [khelper]
root 39 2 0 18:13 ? 00:00:00 [kblockd/0]
root 41 2 0 18:13 ? 00:00:00 [kacpid]
root 42 2 0 18:13 ? 00:00:00 [kacpi_notify]
root 103 2 0 18:13 ? 00:00:00 [kseriod]
root 133 2 0 18:13 ? 00:00:00 [pdflush]
root 134 2 0 18:13 ? 00:00:00 [pdflush]
root 135 2 0 18:13 ? 00:00:00 [kswapd0]
root 136 2 0 18:13 ? 00:00:00 [aio/0]
root 570 2 0 18:13 ? 00:00:00 [ksuspend_usbd]
root 573 2 0 18:13 ? 00:00:00 [khubd]
root 621 2 0 18:13 ? 00:00:00 [ata/0]
root 623 2 0 18:13 ? 00:00:00 [ata_aux]
root 761 2 0 18:13 ? 00:00:00 [kjournald]
root 842 1 0 18:13 ? 00:00:02 udevd --daemon
root 1193 2 0 18:13 ? 00:00:00 [kpsmoused]
root 1361 2 0 18:13 ? 00:00:00 [kgameportd]
daemon 1650 1 0 18:13 ? 00:00:00 /sbin/portmap
statd 1662 1 0 18:13 ? 00:00:00 /sbin/rpc.statd
root 1681 1 0 18:13 ? 00:00:00 dhclient3 -pf /var/run/dhclient.
root 1884 1 0 18:14 tty1 00:00:00 init [S]
root 1885 1884 0 18:14 tty1 00:00:00 bash
root 1922 1 0 18:14 ? 00:00:00 /usr/sbin/sshd
root 1928 1922 0 18:14 ? 00:00:00 sshd: wojtas [priv]
wojtas 1930 1928 0 18:16 ? 00:00:05 sshd: wojtas@pts/0
wojtas 1931 1930 0 18:16 pts/0 00:00:00 -bash
root 1944 1931 0 18:16 pts/0 00:00:00 su
root 1945 1944 0 18:16 pts/0 00:00:00 bash
root 2076 1945 0 19:30 pts/0 00:00:00 man ln
root 2087 2076 0 19:30 pts/0 00:00:00 pager -s
root 2172 1945 0 19:50 pts/0 00:00:00 ps -ef
debian:/home/wojtas#
Kod: Zaznacz cały
$ ssh localhost
Kod: Zaznacz cały
$ ssh 127.0.0.1
Kod: Zaznacz cały
ssh localhost
Kod: Zaznacz cały
ssh: connect to host localhost port 22: Connection refused
Kod: Zaznacz cały
network error: Connection refused
Kod: Zaznacz cały
dpkg-reconfigure ssh