I don't know if I am on the right forum but here's my issue :
I have installed a guest Debian Sparc64 with QEMU on a MacOS 10.9.5. I try to get ssh access between host and guest, without success.
I want to find a simple solution. From what I have seen, I launch Sparc64 with following options :
qemu-system-sparc64 -hda debian_sparc64.img -m 2048 -net nic -net user,hostfwd=tcp::2222-:22 -nographic
Then, I try to connect to guest from my MacOS host with :
ssh -p 2222 localhost
Unfortunately, the above command doesn't ask a password, it stays locked.
If someone could see what's wrong, this would be fine to let me know.
Regards
UPDATE 1:
When QEMU VM is running,
here are the results, on MacOS host, of :
nmap localhost -p 22
Starting Nmap 6.47 ( http://nmap.org ) at 2017-09-16 22:44 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000097s latency).
PORT STATE SERVICE
22/tcp open ssh
and the results, also on MacOS host, of :
nmap localhost -p 2222
Starting Nmap 6.47 ( http://nmap.org ) at 2017-09-16 22:45 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00012s latency).
PORT STATE SERVICE
2222/tcp open EtherNet/IP-1
I forgot to say that QEMU image used ( debian 9.0 Sparc64 guest) has not by default "SSH server" running on it, as it is showed with this command under root :
# ps aux | grep ssh
root 299 0.0 0.0 7168 1952 ttyS0 S+ 22:51 0:00 grep ssh
I have nethertheless "SSH Client" (I mean the "ssh" command), but I don't know how to connect to MacOS host from the Debian Sparc64 guest.
The problem is that I can't install others packages than ones provided by Debian-Sparc64 QEMU image because I have not the network on this guest ( i.e I can't use apt-get install ).
If anyone could see how to circumvent this issue ?
Surely it would be necessary to install networking (port 80) on guest but with a MacOS host, it seems to be difficult, with bridging and virtual interfaces ...
Any help is welcome