I just installed openssh on my Xubuntu machine using this guide. It's installed successfully which I checked by doing ssh -v localhost.
Now I want to ssh into this machine from my mac. I have my router pointed at 22 but I cant seem to figure out what the username and host should be to make this successful.
How do I find ssh <username>@<host> for my local machine?
2 Answers
To find the username, type
whoamion the Xubuntu machine. Instead of "host", look for the IP address. For example, run
ifconfigand look for something like inet addr:192.168.0.100
Normally it uses the same username and password you use to log into your LINUX distro.
2