Linux parted magic - jak aktivovat ssh
Ahoj pouzivam obcas linux parted magic tak,ze nabootuju z usb flash disku do RAM a provadim treba zalohu daneho pc. potreboval bych se pak na dane pecko pro kontrolu pripojit pres ssh a to mi zaboha nejde. poradite mi prosim nekdo? heslo pro roota jsem nastavil a restart služby ssh nefunguje a iptables je vypnutý.
root@server ~ $
ssh: connect to host 192.168.47.12 port 22: Connection refused
A lokálně výpis z roxterm:
Welcome - Parted Magic (Linux 4.8.2-pmagic64)
root@PartedMagic:~#
Changing password for root
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Bad password: too simple.
Warning: weak password (enter it again to use it anyway).
New password:
Re-enter new password:
passwd: password changed.
root@PartedMagic:~#
-bash: service: command not found
root@PartedMagic:~#
ssh: connect to host localhost port 22: Connection refused
root@PartedMagic:~#
root@PartedMagic:~#
root@PartedMagic:~#
ssh: connect to host localhost port 22: Connection refused
root@PartedMagic:~#
Ahoj,
nikde se o tom nepíše, ale když jsem to zkoumal, tak služby se v parted magic spravují přes klikačku v Menu - Settings - Parted magic services - SSH - Start
Pak už ti SSH server poběží :-)
root@server ~ $
ssh root@192.168.47.12
ssh: connect to host 192.168.47.12 port 22: Connection refused
A lokálně výpis z roxterm:
Welcome - Parted Magic (Linux 4.8.2-pmagic64)
root@PartedMagic:~#
passwd root
Changing password for root
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Bad password: too simple.
Warning: weak password (enter it again to use it anyway).
New password:
Re-enter new password:
passwd: password changed.
root@PartedMagic:~#
service sshd status
-bash: service: command not found
root@PartedMagic:~#
ssh root@localhost
ssh: connect to host localhost port 22: Connection refused
root@PartedMagic:~#
iptables -F
root@PartedMagic:~#
iptables -X
root@PartedMagic:~#
ssh root@localhost
ssh: connect to host localhost port 22: Connection refused
root@PartedMagic:~#
ODPOVĚĎ
Ahoj,
nikde se o tom nepíše, ale když jsem to zkoumal, tak služby se v parted magic spravují přes klikačku v Menu - Settings - Parted magic services - SSH - Start
Pak už ti SSH server poběží :-)