PDA

View Full Version : LINUX Console Login Abilities?




DaBuzz
Jun 23, 2004, 07:13 PM
Does Terminal have the ability to login to a Linux box? I need to keep track of our Linux-based sendmail servers, and I wanted to know if I could do it via Terminal, or is there 3rd party software I need.



LeeTom
Jun 23, 2004, 07:18 PM
Absolutely!
Are you logging in with ssh? If so, just do this:

# ssh -l username host.com


Lee Tom

DaBuzz
Jun 23, 2004, 07:23 PM
Absolutely!
Are you logging in with ssh? If so, just do this:

# ssh -l username host.com


Lee Tom

I'm a UNIX/Linux newbie (total newbie), so sorry for this dumb question...

What is ssh? And how do I know if I am loggin in with it? Is that the Mac OS shell?

I am on OS X 10.3.4.

LeeTom
Jun 23, 2004, 07:27 PM
ssh is like telnet, but secure. They are command-line programs. Once you log in, you're typing commands on your linux box. You know that you're on the linux box, because the prompt will change (depending on how it's set up) to something like:

[user@host.net directory]#

DaBuzz
Jun 23, 2004, 07:38 PM
Ok, I tried it, but the default user name it seems to be using is my Mac OS shortname@hostname (e..g., jdoe@smtp1.xyz.org), and that is the password it is prompting me for.

The syntax I used to login was ssh <<hostname>>.

Thanks for the answers...my Linux admin is on vacation, so I've had to assume these responsibilities! LOL

LeeTom
Jun 23, 2004, 07:43 PM
Take a look at my first post, the syntax for logging in with a different username is in it.

Lee Tom

DaBuzz
Jun 23, 2004, 07:49 PM
Take a look at my first post, the syntax for logging in with a different username is in it.

Lee Tom

Ah, ok. Thanks!

DaBuzz
Jun 23, 2004, 08:34 PM
Hmm.

When I login like this
ssh -1 root hostname, I get
ssh: root: No address associated with nodename

When I try like this
ssh 1 root hostname
I get the same error.

I have the root password...am I doing something incorrect in my syntax?

LeeTom
Jun 23, 2004, 08:38 PM
That's a lowercase "L", not a 1 (one).

Also, by the looks of things, you're pretty new to this.. so be REAL careful logging in as root. it's easy to royally mess things up!!!

Lee Tom

csubear
Jun 23, 2004, 08:59 PM
well since your new to unix, you best command to learn is man. Like if you want to know all the arguments to ssh type man ssh

PrometheusG5
Jun 23, 2004, 11:01 PM
Thank you all for your help!