Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DaBuzz

macrumors member
Original poster
Feb 11, 2004
83
0
San Francisco, CA
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.
 
Absolutely!
Are you logging in with ssh? If so, just do this:

# ssh -l username host.com


Lee Tom
 
LeeTom said:
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.
 
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]#
 
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
 
Take a look at my first post, the syntax for logging in with a different username is in it.

Lee Tom
 
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?
 
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
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.