Trying to log in to school server using terminal on mac.

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Trying to log in to school server using terminal on mac.
# 1  
Old 01-23-2016
Trying to log in to school server using terminal on mac.

Hi everyone I am a complete beginner and already confused. the instructor has step by step directions for students on PC to download putty and do it that way. He neglects mac unfortunately. I attached the documents that instructs students how to do it. maybe you could read it and guide me? Iv done research myself but to no avail. he doesnt supply any info on the server name besides an IP address.

I asked my instructor and he told me to just look it up myself. have been doing it for a while and I still dont understand. Can anyone offer any suggestions it will be much appreciated.

Thanks
# 2  
Old 01-23-2016
On your Mac, you should have an icon that will start a terminal sesssion (a window with a $ sign for a prompt).
Start a session, and enter:
ssh myuserid@192.168.200.230
enter your password.
You should be logged in.
This assumes that your Mac is connected to the same network as the HP.
Don't expect your function keys to work, or that the arrow keys will likely work.
Your instructor has failed to mention the terminal type and other settings.
If you need more info, you will have to talk to someone who knows Macs better than I do.
This User Gave Thanks to jgt For This Post:
# 3  
Old 01-23-2016
the

Moderator's Comments:
Mod Comment A word of warning up front: the following will not help you in any way to "break into" your schools computer (or any other computer, for that matter) and nobody else here will be willing to help you in any way should you try to attempt it. Should that be your intention you can as well stop reading here and go to other websites.


I apologize in case this warning does not apply to you, but we had so many of these questions over the last ten years i spent here that i am trying to save time in case this is just one more of them. Let us get it on with your problem:

First, we need to clarify a few terms and lay down a few definitions. Like in every other area of competence you will do better understanding what you do than by just reexecuting some recipe learned by heart.

Back in the old days, the usual way of connecting to a computer was via a "terminal". A terminal is a keyboard and a monitor, both connected to the computer via a serial line. As the technical development of computers evolved the situation was no longer "one big computer in the middle, lots of (users with dumb) terminals accessing it", but commonly the device from which the user made the connection was another computer. And because this didn't happen via serial lines any more but via network connections something new was needed.

But the old "terminal" concept was working very well and so it was not abandoned altogether but "virtualised": the serial line connection was replaced by a network connection and the real terminal was replaced by a program acting as if it were a terminal: a so-called "terminal emulator".

This was called "telnet". "telnet" is a little troublesome as a term, because the protocol (the "language" the two connected computers communicate in) is called "telnet" and the client program implementing the telnet protocol is also called "telnet" (there is also a server part, called "telnetd"). It usually depends on the frame of reference what exactly is talked about: the protocol, the client program, or both. (Btw.: the situation with "ftp" is the same: the protocol and the client software share the same name, the server is commonly named "ftpd".)

Anyway: for a long time "telnet" and "ftp" were the standard way of connecting from one (Unix, VMS and other) computer to another such computer. But there was one big problem: the first thing a (Unix) computer asks when you contact it is to identify yourself: "username" and "password". The question, the respective answers (and the rest of the communication) all went in clear text and without any encryption over the network. If one wanted to know someone elses password for a certain computer he had just have to have the right equipment (a "network sniffer") and wait until this person logged into that computer.

Because of this "ssh" (secure shell) was invented. It works in principle the same way as telnet but all the communication is encrypted (the protocol is called "SSL", "Secure Sockets Layer"). You can still eavesdrop on someones communication with a remote computer, but you can't make any sense of it.

OK, after that much theory, back to your question: "putty" is a ssh-client for Windows. On a Mac you neither need it nor could you use it. What you need is an "ssh-client" for MacOS", which - fortunately - is already installed according to www.openssh.com.

So it seems ( i have no Mac to test that, but others here do, they will sure help out with details) you are already set. According to your PDF you have a username and a password. You also know the name (or the IP address, 192.168.200.230) f the computer you want to connect to. Open a command shell and enter:

Code:
$ ping 192.168.200.230

If the host doesn't answer and you get a "ping timed out"-type of response you can stop here. There is no network connection and you have to correct this before continuing.

Otherwise, if the host answers, do:

Code:
$ ssh <username>@192.168.200.230

You should be asked for your password. Everything else in the document applies to you the same as to Windows users.

I hope this helps.

bakunin

Last edited by bakunin; 01-23-2016 at 01:20 PM..
These 4 Users Gave Thanks to bakunin For This Post:
# 4  
Old 01-27-2016
Thank you guys so much for your thoughtful responses it would perfectly for me.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Open Source

The Terminal on Mac OS X

Does anyone know the differences in commands when it come to Linux and Mac OS X? I'm wanting to know if I use "this" command in Linux and It doesn't work in Mac then what command is equivalent to the one in Linux. Example Ctrl+Alt+f2 switches to (tty2) so what equivalent switches to ttys2 on Mac? (13 Replies)
Discussion started by: 1negroup
13 Replies

2. OS X (Apple)

The Terminal on Mac: Coding

So found this C code online and need to compile it in Terminal on Mac. Here is the code: #include <stdio.h> #include <math.h> int option; char q; int number; int currentsum; int value; void calc() { printf("\t\t\t\t\tBegin\n"); // says begin in top middle of screen ... (3 Replies)
Discussion started by: 1negroup
3 Replies

3. UNIX for Advanced & Expert Users

close a mac terminal

Is there a trick to closing a mac terminal with a command? I would think you could just type exit into your terminal but that doesn't work. I also tried quit and close just for the hell of it and that didn't work either. Does anyone know what the command is? (1 Reply)
Discussion started by: cokedude
1 Replies

4. Shell Programming and Scripting

How to checkout from SVN using Terminal in Mac OS X?

Hi, I am new for SVN. Earlier I have been using CVS. When I checkout the code from SVN using Eclipse, the size of the source code checked out is 612MB. But when I try to checkout from terminal, from my 5.8 branch , the checked out source code's size is only 312.1 MB. Can anyone tell me... (0 Replies)
Discussion started by: Afreen
0 Replies

5. UNIX for Dummies Questions & Answers

How to create new users on my mac from the terminal

I finally got how to su - in my mac from the terminal. Now I would like to be able to add new users. useradd -m -d ..... doesn't seem to work. (1 Reply)
Discussion started by: bigmac18
1 Replies

6. OS X (Apple)

New to Mac OS X Terminal

Hi everyone. I'm new to using the Terminal and was just wondering if anyone had a link to perhaps a list of commands. And tips on some useful websites to visit or books to read. Oh and is there a way to delete just part of the Terminal's history? If so what is the command? Thanks :) (2 Replies)
Discussion started by: xsemperidem5
2 Replies

7. UNIX for Dummies Questions & Answers

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why? AHHHH!! I have been connecting to the server with the line: ssh userid@website.com The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Discussion started by: xprankard
0 Replies

8. UNIX for Dummies Questions & Answers

Running Terminal and/or X-Windows in Mac OS X

Quick question: When I load up Terminal or X-Windows on my Mac, and the prompt comes up...what folder am I starting in? (2 Replies)
Discussion started by: liquidcross
2 Replies

9. UNIX for Dummies Questions & Answers

Mac OS X/UNIX/Terminal Question

Hey everyone I'm new to UNIX due to the new Mac OS X operating system and would like some help. I'm trying to send an email via the UNIX-Shell-Terminal i Mac OS X, (it's called darwin) How do I do that? When I enter the Command mail I can send messages to root and with the command -forward... (4 Replies)
Discussion started by: onkel
4 Replies
Login or Register to Ask a Question