Hello I've created a user in Ubuntu and I want to connect to it using ssh
using this command
ssh user@127.0.0.1 -p 2222
and I got this error
ssh: connect to host 127.0.0.1 port 2222: Connection refused
I tried
ssh -vvv user@127.0.0.1 -p 2222
and got
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
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 127.0.0.1 [127.0.0.1] port 2222.
debug1: connect to address 127.0.0.1 port 2222: Connection refused
sssh: connect to host 127.0.0.1 port 2222: Connection refused
any help ?
Note : I am using virtualbox
I didn't install ssh, how to install it and configure it ?
ssh -vvv user@127.0.0.1 -p 2222
.sshd
to listen on port 2222 ? if no then usessh user@127.0.0.1