Quantcast
Channel: Active questions tagged ssh - Ask Ubuntu
Viewing all articles
Browse latest Browse all 821

Having trouble with SSH localhost

$
0
0

I am trying to connect my UTM virtual machine to my host terminal on mac. I am using ubuntu 22.04.3. My VM has port forwarding set up with guest port 22 and host port 2222.

When I run ssh benwal@localhost -p 2222 I get no error messages, but it does not prompt me for a password, and it runs without terminating. Here is what I get when I run verbose using ssh -vvvvv benwal@localhost -p 2222:

OpenSSH_8.6p1, LibreSSL 3.3.6debug1: Reading configuration data /Users/benwalderman/.ssh/configdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no filesdebug1: /etc/ssh/ssh_config line 54: Applying options for *debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/benwalderman/.ssh/known_hosts'debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/benwalderman/.ssh/known_hosts2'debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disablingdebug1: Connecting to localhost port 2222.debug1: Connection established.debug1: identity file /Users/benwalderman/.ssh/id_rsa type 0debug1: identity file /Users/benwalderman/.ssh/id_rsa-cert type -1debug1: identity file /Users/benwalderman/.ssh/id_dsa type -1debug1: identity file /Users/benwalderman/.ssh/id_dsa-cert type -1debug1: identity file /Users/benwalderman/.ssh/id_ecdsa type -1debug1: identity file /Users/benwalderman/.ssh/id_ecdsa-cert type -1debug1: identity file /Users/benwalderman/.ssh/id_ecdsa_sk type -1debug1: identity file /Users/benwalderman/.ssh/id_ecdsa_sk-cert type -1debug1: identity file /Users/benwalderman/.ssh/id_ed25519 type -1debug1: identity file /Users/benwalderman/.ssh/id_ed25519-cert type -1debug1: identity file /Users/benwalderman/.ssh/id_ed25519_sk type -1debug1: identity file /Users/benwalderman/.ssh/id_ed25519_sk-cert type -1debug1: identity file /Users/benwalderman/.ssh/id_xmss type -1debug1: identity file /Users/benwalderman/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.6

Viewing all articles
Browse latest Browse all 821

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>