ssh? #4855
-
I use a Debian 11 "Bullseye" chroot via Crouton. I installed However, I can't connect to the Chr.b. from another computer. Usually, if there's no ssh server installed you get the error "No route to host" within a few seconds. But to the Chr.b. the connection times out (after a very long time). That makes me think that there indeed is an ssh server running on the Chr.b. but something's wrong. As far as I know I do not have a firewall running on the Chromebook. Does anybody have experience in running an ssh server in a chroot? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 17 replies
-
Beta Was this translation helpful? Give feedback.
-
Every single tutorial on the internet requires us to use
You need that command to check if the sshd is active or not. It may be "enabled" but not "active" (???). This is driving me completely nuts. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/dnschneid/crouton/wiki/Running-servers-in-crouton |
Beta Was this translation helpful? Give feedback.
-
[update] I restored my old Trusty chroot. Started it up. And now I can ssh into my chromebook. But I ssh into... my new Debian Bulleye chroot filesystem, not Ubunty Trusty's. So it looks like Trusty openend port 22. I'm gonna study how to do that in Bullseye with Aaaaaaaaaaarrghhhhhhhhhhhhhhh. |
Beta Was this translation helpful? Give feedback.
-
@TomTravis : you were on the right track. However, Debian distro's as of ver. 10 'Buster' no NOT use y'e ol' To make a long story short, I tried to install Turns out that you have to use
This |
Beta Was this translation helpful? Give feedback.
-
i guess you could ssh to read and write audio streams |
Beta Was this translation helpful? Give feedback.
@TomTravis : you were on the right track. However, Debian distro's as of ver. 10 'Buster' no NOT use y'e ol'
iptables
anymore. It usesnftables
. Fortunately it still supports some sort of backward compatibility. Again, the problem is that services are usually started with asystemctl
command (from systemd). But systemd will NOT work in a chroot.To make a long story short, I tried to install
firewalld
because that's recommended on the Debian wiki. And, again, that program (with a GUI) probably usessystemctl
to start the firewall because it refuses to startup. It hangs. But the programfirewalld
brings in some iptables stuff. I tried the command that you recommended to open up port 22, bu…