...
This guide is designed to get your Linux machine setup so that you can do your coursework from either on-campus or off-campus on the Rhodes CS computing environment. You will need to configure your local machine so that it can be used to login to the remote CS server. Next, once Once you get logged in, you will need to learn some basic tools and set things up so that you can checkout programming assignments and submit them with Git.
...
You shouldn’t type the $
, this is just making it clear that you type in the echo
command at the prompt.
To access the CS server, we will need to use the SSH (Secure Shell) command to connect from your local computer to the CS server (cslogin
). Due to security restrictions, you will need to be on campus to access the cslogin server until you have setup encryption keys (see below). SSH will not work from off-campus the first time you login.
...
To authenticate yourself to the SSH agent, you need to add your keys to the agent on your Maccomputer:
$ ssh-add
Type in your passphrase and you’re all set.
Info |
---|
If you see the error |
Making SSH Easier
Create an SSH config file in ~/.ssh/config
that contains the following text:
...
and access the system without being prompted for a password and/or copy files using scp
back and forth.
SCP
Wiith ~/.ssh/config
set up you can also copy files between your local computer and the remote server using scp
:
$ scp cslogin:~/file.txt file.txt
copies from cslogin
to local
$ scp file.txt cslogin:~/file.txt
copies from local
to cslogin
Now, at this point you should be all done with the required configuration on your local host. You will still need to setup more SSH keys on cslogin
so that you can securely exchange files with Github.: Configuring and Using Git
Tip |
---|
Congrats! You have completed the basic SSH configuration for your computer. |
...