Glam Prestige Journal

Bright entertainment trends with youth appeal.

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

whoami

on the Xubuntu machine. Instead of "host", look for the IP address. For example, run

ifconfig

and 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy