SSH cannot connect to qemu ARM emulator
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have boot-up the armhf standard machine with ssh on port 22 from here
Using this command:
qemu-system-arm -M vexpress-a9 -kernel vmlinuz-3.2.0-4-vexpress -initrd initrd.img-3.2.0-4-vexpress
-drive if=sd,file=debian_wheezy_armhf_standard.qcow2 -append "root=/dev/mmcblk0p2" -net user,hostfwd=tcp::5555-:22
As explained in this tutorial I've set an ssh-server private/public key pair invoking ssh-keygen -t rsa
on it.
Then when I to connect it from my guest machine Ubuntu 17.10 x64
ssh -p 5555 localhost
I get this error:
ssh_exchange_identification: read: Connection reset by peer
When I try explicitly to ssh connect to the virtual machine invoking
qemu-system-arm -M vexpress-a9 -net user,hostfwd=tcp::5555-:22 &
I get this message
qemu-system-arm: -net user,hostfwd=tcp::5555-:22: Could not set up host forwarding rule 'tcp::5555-:22'
What is the problem ?
How can I ssh connect to the arm emulator ?
Thank you
ubuntu ssh qemu
add a comment |Â
up vote
2
down vote
favorite
I have boot-up the armhf standard machine with ssh on port 22 from here
Using this command:
qemu-system-arm -M vexpress-a9 -kernel vmlinuz-3.2.0-4-vexpress -initrd initrd.img-3.2.0-4-vexpress
-drive if=sd,file=debian_wheezy_armhf_standard.qcow2 -append "root=/dev/mmcblk0p2" -net user,hostfwd=tcp::5555-:22
As explained in this tutorial I've set an ssh-server private/public key pair invoking ssh-keygen -t rsa
on it.
Then when I to connect it from my guest machine Ubuntu 17.10 x64
ssh -p 5555 localhost
I get this error:
ssh_exchange_identification: read: Connection reset by peer
When I try explicitly to ssh connect to the virtual machine invoking
qemu-system-arm -M vexpress-a9 -net user,hostfwd=tcp::5555-:22 &
I get this message
qemu-system-arm: -net user,hostfwd=tcp::5555-:22: Could not set up host forwarding rule 'tcp::5555-:22'
What is the problem ?
How can I ssh connect to the arm emulator ?
Thank you
ubuntu ssh qemu
Can you confirm that thesshd
server is actually running on the virtual machine?
â fcbsd
Dec 15 '17 at 12:44
I think so. I have a working process called /user/sbin/sshd (with no children)
â Roey
Dec 19 '17 at 9:38
can you post the output ofssh -vvv -p 5555 localhost
it will give more debugging information which might help track down the issue.
â fcbsd
Dec 20 '17 at 10:19
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [::1] port 5555. debug1: connect to address ::1 port 5555: Connection refused debug1: Connecting to localhost [127.0.0.1] port 5555. debug1: connect to address 127.0.0.1 port 5555: Connection refused ssh: connect to host localhost port 5555: Connection refused
Sorry I can't ident the script output CTRL+K is hijacked by Firefox to focus the address line.
â Roey
Dec 21 '17 at 15:26
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have boot-up the armhf standard machine with ssh on port 22 from here
Using this command:
qemu-system-arm -M vexpress-a9 -kernel vmlinuz-3.2.0-4-vexpress -initrd initrd.img-3.2.0-4-vexpress
-drive if=sd,file=debian_wheezy_armhf_standard.qcow2 -append "root=/dev/mmcblk0p2" -net user,hostfwd=tcp::5555-:22
As explained in this tutorial I've set an ssh-server private/public key pair invoking ssh-keygen -t rsa
on it.
Then when I to connect it from my guest machine Ubuntu 17.10 x64
ssh -p 5555 localhost
I get this error:
ssh_exchange_identification: read: Connection reset by peer
When I try explicitly to ssh connect to the virtual machine invoking
qemu-system-arm -M vexpress-a9 -net user,hostfwd=tcp::5555-:22 &
I get this message
qemu-system-arm: -net user,hostfwd=tcp::5555-:22: Could not set up host forwarding rule 'tcp::5555-:22'
What is the problem ?
How can I ssh connect to the arm emulator ?
Thank you
ubuntu ssh qemu
I have boot-up the armhf standard machine with ssh on port 22 from here
Using this command:
qemu-system-arm -M vexpress-a9 -kernel vmlinuz-3.2.0-4-vexpress -initrd initrd.img-3.2.0-4-vexpress
-drive if=sd,file=debian_wheezy_armhf_standard.qcow2 -append "root=/dev/mmcblk0p2" -net user,hostfwd=tcp::5555-:22
As explained in this tutorial I've set an ssh-server private/public key pair invoking ssh-keygen -t rsa
on it.
Then when I to connect it from my guest machine Ubuntu 17.10 x64
ssh -p 5555 localhost
I get this error:
ssh_exchange_identification: read: Connection reset by peer
When I try explicitly to ssh connect to the virtual machine invoking
qemu-system-arm -M vexpress-a9 -net user,hostfwd=tcp::5555-:22 &
I get this message
qemu-system-arm: -net user,hostfwd=tcp::5555-:22: Could not set up host forwarding rule 'tcp::5555-:22'
What is the problem ?
How can I ssh connect to the arm emulator ?
Thank you
ubuntu ssh qemu
asked Dec 15 '17 at 11:56
Roey
112
112
Can you confirm that thesshd
server is actually running on the virtual machine?
â fcbsd
Dec 15 '17 at 12:44
I think so. I have a working process called /user/sbin/sshd (with no children)
â Roey
Dec 19 '17 at 9:38
can you post the output ofssh -vvv -p 5555 localhost
it will give more debugging information which might help track down the issue.
â fcbsd
Dec 20 '17 at 10:19
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [::1] port 5555. debug1: connect to address ::1 port 5555: Connection refused debug1: Connecting to localhost [127.0.0.1] port 5555. debug1: connect to address 127.0.0.1 port 5555: Connection refused ssh: connect to host localhost port 5555: Connection refused
Sorry I can't ident the script output CTRL+K is hijacked by Firefox to focus the address line.
â Roey
Dec 21 '17 at 15:26
add a comment |Â
Can you confirm that thesshd
server is actually running on the virtual machine?
â fcbsd
Dec 15 '17 at 12:44
I think so. I have a working process called /user/sbin/sshd (with no children)
â Roey
Dec 19 '17 at 9:38
can you post the output ofssh -vvv -p 5555 localhost
it will give more debugging information which might help track down the issue.
â fcbsd
Dec 20 '17 at 10:19
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [::1] port 5555. debug1: connect to address ::1 port 5555: Connection refused debug1: Connecting to localhost [127.0.0.1] port 5555. debug1: connect to address 127.0.0.1 port 5555: Connection refused ssh: connect to host localhost port 5555: Connection refused
Sorry I can't ident the script output CTRL+K is hijacked by Firefox to focus the address line.
â Roey
Dec 21 '17 at 15:26
Can you confirm that the
sshd
server is actually running on the virtual machine?â fcbsd
Dec 15 '17 at 12:44
Can you confirm that the
sshd
server is actually running on the virtual machine?â fcbsd
Dec 15 '17 at 12:44
I think so. I have a working process called /user/sbin/sshd (with no children)
â Roey
Dec 19 '17 at 9:38
I think so. I have a working process called /user/sbin/sshd (with no children)
â Roey
Dec 19 '17 at 9:38
can you post the output of
ssh -vvv -p 5555 localhost
it will give more debugging information which might help track down the issue.â fcbsd
Dec 20 '17 at 10:19
can you post the output of
ssh -vvv -p 5555 localhost
it will give more debugging information which might help track down the issue.â fcbsd
Dec 20 '17 at 10:19
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [::1] port 5555. debug1: connect to address ::1 port 5555: Connection refused debug1: Connecting to localhost [127.0.0.1] port 5555. debug1: connect to address 127.0.0.1 port 5555: Connection refused ssh: connect to host localhost port 5555: Connection refused
Sorry I can't ident the script output CTRL+K is hijacked by Firefox to focus the address line.â Roey
Dec 21 '17 at 15:26
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [::1] port 5555. debug1: connect to address ::1 port 5555: Connection refused debug1: Connecting to localhost [127.0.0.1] port 5555. debug1: connect to address 127.0.0.1 port 5555: Connection refused ssh: connect to host localhost port 5555: Connection refused
Sorry I can't ident the script output CTRL+K is hijacked by Firefox to focus the address line.â Roey
Dec 21 '17 at 15:26
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411045%2fssh-cannot-connect-to-qemu-arm-emulator%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you confirm that the
sshd
server is actually running on the virtual machine?â fcbsd
Dec 15 '17 at 12:44
I think so. I have a working process called /user/sbin/sshd (with no children)
â Roey
Dec 19 '17 at 9:38
can you post the output of
ssh -vvv -p 5555 localhost
it will give more debugging information which might help track down the issue.â fcbsd
Dec 20 '17 at 10:19
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [::1] port 5555. debug1: connect to address ::1 port 5555: Connection refused debug1: Connecting to localhost [127.0.0.1] port 5555. debug1: connect to address 127.0.0.1 port 5555: Connection refused ssh: connect to host localhost port 5555: Connection refused
Sorry I can't ident the script output CTRL+K is hijacked by Firefox to focus the address line.â Roey
Dec 21 '17 at 15:26