By default, sshd on the target won't start unless you've built a
test image. If you don't know what kind of image you've built, it
isn't a test image. If you're trying to use 'run_remote_tests.sh',
a test image is a pre-requisite:
http://www.chromium.org/chromium-os/testing
http://www.chromium.org/chromium-os/testing/running-tests
If you just want a developer image with sshd running, you can
manually start sshd with this command:
sudo start openssh-server
Caveat: I tested on x86 hardware (a Cr-48). I can't vouch for
its success on ARM, although my expectation is that it works,
or that if you report it doesn't work, it will get attention.
Enjoy!
> --
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.or
-- jrb
Do you mean:
initctl restart openssh-server
Regards,
Simon
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
>
> My apologies, I meant "sudo ./openssh-server.conf start". That was the
> command that I tried because another person in my team had that work
> on a nightly (unmodified for NFS Boot) build and it worked. I will try
> the command you suggest right now.
>
Sunil,
The command to start sshd is as I reported it before:
sudo start openssh-server
The /etc/init/openssh-server.conf file is not an executable
script: It's an upstart job file. You need to use upstart
commands to get things going.
The command from Simon may not work if sshd isn't already
running.
Also, you mentioned that you built a test image by using --withautotest.
That option (for build_package) alone isn't enough (indeed, that option
is on by default anyway): To get a test image you must run
'mod_image_for_test.sh'. The instructions for this are on the web pages
I cited before:
http://www.chromium.org/chromium-os/testing/running-tests
http://www.chromium.org/chromium-os/testing
Thanks!
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
-- jrb
I don't think so, because mod_image_for_test changes iptables to enable ssh.
That error suggests that the IP address you are using is not the one
for your board, or it is not on the network. I suggest these steps:
1. 'ifconfig eth0' on the board serial console to make sure you have
the right IP address
2. 'ps ax |grep ssh' to make sure that the ssh server is running
3. Also try 'ssh localhost' on the board until you get it running.
4. If you cannot start the ssh server, please let us know.
Regards,
Simon
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
>
> Ok, I've gotten that to start and now when I try
> the .run_remote_test.sh command I get the following:
>
> "Initiating first contact with remote host
> ssh: connect to host 172.17.150.240 port 22: No route to host"
>
> ...this seems like a firewall/iptables config issue, correct?
>
It does sound like something in your network infrastructure is
interfering with the connection.
Can you get to the target via ping?
Thanks!
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
-- jrb