Finally having gotten
ssh localhost to run successfully on my Ubuntu machine, I'm now failing to remote into Ubuntu from Mac.
- On my router, forward port 22 to my Ubuntu machine.
- Copy my mac id_rsa.pub into
- Include MyMacUserID in
SSH command from Mac:
ssh -p 22 [ubuntu ip address]
Diagnostics on Ubuntu:
ubuntu sshd: Set /proc/self/oom_score_adj to 0 ubuntu sshd: Connection from ip.ip.ip.ip port 1024 ubuntu sshd: Invalid user MyMacUserID from ip.ip.ip.ip ubuntu sshd: input_userauth_request: invalid user MyMacUserID [preauth] ubuntu sshd: Connection closed by ip.ip.ip.ip [preauth]
Why is it calling MyMacUserID invalid? Also odd: Why does it refer to port 1024 instead of 22? Any ideas?