If I run
ssh firstname.lastname@example.org (lets call that IP machine A) on machine B I can connect. I can also connect on machine C.
If I run it on another (machine D) I get
Permission denied, please try again.
Why is this?
Note. I exit each session before trying the next. All computers are in the same network. (in fact all 4 are VMs on the same host) I am able to ping machine A from all machines. I am using password rather than key file. I am also able to connect to machine A from machine D (the opposite way round from what I want)
Edit: output from -vvv It seems it's authenticating properly but then being kicked off.
.... debug3: remaining preferred: ,password debug3: authmethod_is_enabled password debug1: Next authentication method: password email@example.com's password: debug3: send packet: type 50 debug2: we sent a password packet, wait for reply debug1: Authentication succeeded (password). Authenticated to 192.168.1.124 ([192.168.1.124]:22). debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting firstname.lastname@example.org debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: network debug3: send packet: type 1 debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t3 r-1 i0/0 o0/0 fd 4/5 cc -1) Connection to 192.168.1.124 closed by remote host. Connection to 192.168.1.124 closed. Transferred: sent 2084, received 2084 bytes, in 0.0 seconds Bytes per second: sent 25409678.9, received 25409678.9 debug1: Exit status -1