Hi all,

In the FS mode, I connect to the simulated OS with m5term. Then in the
terminal, I first set up the localhost with the following commands:
# ifconfig lo 127.0.0.1
# route add -net 127.0.0.0 netmask 255.0.0.0 lo

Then I can ping the localhost successfully. But when I try to ssh
localhost, I got the following error:

root@(none) root # ssh -v localhost
OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
debug1: Connecting to localhost [::1] port 22.
debug1: connect to address ::1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused

I've also tried port 3500 (shown in ethertap source codes), and got the
same error.

I tried adding the following lines to /etc/hosts.allow, but it didn't work.
sshd: ALL
ssh: ALL

Any ideas?

Thanks in advance!

Regards,
Di
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to