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.
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.
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:
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)
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)
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)
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)
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)
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)
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)
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)